Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008046/0.0008046, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9681/0.9681, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7728/0.7728, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000973/0.000973, allocations: 66.42 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5082, allocations: 102 MB / 0.8174 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001532/0.5098, allocations: 0.6835 MB / 0.8181 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008471/0.5106, allocations: 0.8539 MB / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.5107, allocations: 0 / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.5107, allocations: 8.578 kB / 0.8189 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.622e-05/0.5108, allocations: 9.375 kB / 0.8189 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.5109, allocations: 27.05 kB / 0.8189 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.856e-05/0.511, allocations: 45.47 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.5111, allocations: 18.89 kB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.5112, allocations: 17.08 kB / 0.819 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.5113, allocations: 21.11 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.5113, allocations: 4.375 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.5113, allocations: 4.906 kB / 0.819 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.5113, allocations: 18.59 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.5113, allocations: 13.14 kB / 0.8191 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.5114, allocations: 48.5 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5114, allocations: 4.703 kB / 0.8191 GB, free: 32 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5115, allocations: 0 / 0.8191 GB, free: 32 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.5115, allocations: 0 / 0.8191 GB, free: 32 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004653/0.5119, allocations: 284.4 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.512, allocations: 9.688 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.512, allocations: 39.34 kB / 0.8194 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.512, allocations: 4.281 kB / 0.8194 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.5121, allocations: 115 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5121, allocations: 384 / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.5122, allocations: 14.86 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.5123, allocations: 69.81 kB / 0.8196 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.5123, allocations: 0 / 0.8196 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.5123, allocations: 0 / 0.8196 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5123, allocations: 1.344 kB / 0.8196 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.5125, allocations: 52.06 kB / 0.8197 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.5128, allocations: 256 kB / 0.8199 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.5129, allocations: 66.05 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.513, allocations: 29.94 kB / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.513, allocations: 4 kB / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.513, allocations: 31.12 kB / 0.8201 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.513, allocations: 3.938 kB / 0.8201 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002652/0.5133, allocations: 103.3 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.5133, allocations: 55.41 kB / 0.8202 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.5134, allocations: 111.2 kB / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.5134, allocations: 25.7 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.5135, allocations: 92.3 kB / 0.8204 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.5135, allocations: 11.42 kB / 0.8204 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.5135, allocations: 19.56 kB / 0.8205 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.5136, allocations: 316.2 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.5136, allocations: 24.48 kB / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.5137, allocations: 26.05 kB / 0.8208 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.5138, allocations: 57.25 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5138, allocations: 0 / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001394/0.514, allocations: 87.03 kB / 0.8209 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.514, allocations: 7.062 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.514, allocations: 0 / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.514, allocations: 0.9375 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.5141, allocations: 11.44 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.5141, allocations: 3.781 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.5141, allocations: 12.2 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.5141, allocations: 10.45 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.5142, allocations: 110.3 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.5142, allocations: 6.219 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.5142, allocations: 9.125 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5142, allocations: 0.6094 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5142, allocations: 2.062 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5142, allocations: 3.984 kB / 0.8211 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.5143, allocations: 145.5 kB / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5143, allocations: 0 / 0.8213 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.5144, allocations: 15.83 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.5144, allocations: 0 / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.5144, allocations: 1.812 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.5144, allocations: 0 / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5144, allocations: 1.312 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.5146, allocations: 185.9 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.5146, allocations: 4.594 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.5146, allocations: 7.156 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.025e-05/0.5147, allocations: 9.625 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.5147, allocations: 15.75 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.5147, allocations: 2.562 kB / 0.8215 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.5148, allocations: 88.92 kB / 0.8216 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5148, allocations: 0 / 0.8216 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001419/0.5149, allocations: 12.58 kB / 0.8216 GB, free: 13.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003944/0.5153, allocations: 0.7078 MB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.5155, allocations: 60.39 kB / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5155, allocations: 0 / 0.8223 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.5156, allocations: 30.3 kB / 0.8224 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.5158, allocations: 4.188 kB / 0.8224 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.517, allocations: 1.332 MB / 0.8237 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.13e-05/0.5171, allocations: 69.64 kB / 0.8237 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.5171, allocations: 8.109 kB / 0.8237 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.5172, allocations: 20.47 kB / 0.8238 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.5172, allocations: 0 / 0.8238 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.5359, allocations: 2.416 MB / 0.8261 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/7.204, allocations: 8.391 kB / 0.8261 GB, free: 10.94 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.2646226240322] Failed to read output from testmodel.py, exit status != 0: 7.281876556109637 7.298535762 6.784592111 Calling exit ...