Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0007846/0.0007846, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007587/0.0007587, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.87/0.87, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.695/0.695, allocations: 154.6 MB / 414.5 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 3.938 kB / 0.6193 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.873e-05, allocations: 2.281 kB / 0.6193 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00437/0.004389, allocations: 3.64 MB / 0.6228 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0001221/0.004511, allocations: 143.3 kB / 0.623 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.004533, allocations: 0 / 0.623 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.004639, allocations: 7.984 kB / 0.623 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.00471, allocations: 7.875 kB / 0.623 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.005014, allocations: 91.67 kB / 0.6231 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.005097, allocations: 35.84 kB / 0.6231 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.005142, allocations: 0 / 0.6231 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.005198, allocations: 19.92 kB / 0.6231 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.005273, allocations: 19.97 kB / 0.6231 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.005288, allocations: 0 / 0.6231 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.005723, allocations: 207.2 kB / 0.6233 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.005767, allocations: 11.98 kB / 0.6234 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.005787, allocations: 7.984 kB / 0.6234 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.005925, allocations: 67.8 kB / 0.6234 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.005928, allocations: 0 / 0.6234 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.402e-06/0.00593, allocations: 0 / 0.6234 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.005935, allocations: 0 / 0.6234 GB, free: 7.844 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003582/0.006293, allocations: 260.6 kB / 0.6237 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.006333, allocations: 8.031 kB / 0.6237 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.006377, allocations: 4.938 kB / 0.6237 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.882e-05/0.006455, allocations: 105.7 kB / 0.6238 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.006516, allocations: 55.97 kB / 0.6238 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.006525, allocations: 4.375 kB / 0.6239 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.006652, allocations: 67.95 kB / 0.6239 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006662, allocations: 4.172 kB / 0.6239 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.006674, allocations: 3.938 kB / 0.6239 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.006695, allocations: 4 kB / 0.6239 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.95e-05/0.006734, allocations: 11.94 kB / 0.6239 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.007096, allocations: 212.5 kB / 0.6241 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.791e-05/0.007134, allocations: 14.58 kB / 0.6242 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.007151, allocations: 16.86 kB / 0.6242 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.007197, allocations: 8 kB / 0.6242 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.007221, allocations: 34.56 kB / 0.6242 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.007222, allocations: 0 / 0.6242 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001288/0.007351, allocations: 37.62 kB / 0.6242 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.007376, allocations: 51.41 kB / 0.6243 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.007438, allocations: 109.8 kB / 0.6244 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.007449, allocations: 25.7 kB / 0.6244 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.007486, allocations: 88.03 kB / 0.6245 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.007493, allocations: 11.95 kB / 0.6245 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.007517, allocations: 13.84 kB / 0.6245 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.007588, allocations: 314.8 kB / 0.6248 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.0076, allocations: 7.984 kB / 0.6248 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.007619, allocations: 17.91 kB / 0.6249 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/0.007647, allocations: 21.66 kB / 0.6249 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.007648, allocations: 0 / 0.6249 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.643e-05/0.007705, allocations: 53.56 kB / 0.6249 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.007717, allocations: 4 kB / 0.6249 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.007721, allocations: 64 / 0.6249 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.007734, allocations: 4.094 kB / 0.6249 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.055e-05/0.007774, allocations: 15.97 kB / 0.625 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.007779, allocations: 0 / 0.625 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.007792, allocations: 4 kB / 0.625 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.007801, allocations: 4 kB / 0.625 GB, free: 6.078 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.344e-05/0.007855, allocations: 106.8 kB / 0.6251 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.007869, allocations: 3.938 kB / 0.6251 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/0.007963, allocations: 128.9 kB / 0.6252 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.427e-05/0.008008, allocations: 188.2 kB / 0.6254 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.055e-05/0.008048, allocations: 184.3 kB / 0.6255 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.805e-05/0.008086, allocations: 180.2 kB / 0.6257 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.008214, allocations: 360.8 kB / 0.6261 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/0.008239, allocations: 108.9 kB / 0.6262 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.008263, allocations: 101 kB / 0.6263 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.985e-05/0.008302, allocations: 180.2 kB / 0.6264 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.008346, allocations: 188.2 kB / 0.6266 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.982e-05/0.008386, allocations: 176.3 kB / 0.6268 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-05/0.008425, allocations: 180.2 kB / 0.627 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.13e-05/0.008516, allocations: 303.8 kB / 0.6272 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.008547, allocations: 116.8 kB / 0.6274 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.008597, allocations: 180.3 kB / 0.6275 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.008694, allocations: 104.9 kB / 0.6276 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.008742, allocations: 192.2 kB / 0.6278 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.008765, allocations: 104.9 kB / 0.6279 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.008796, allocations: 79.28 kB / 0.628 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.008796, allocations: 0 / 0.628 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001603/0.008956, allocations: 16 kB / 0.628 GB, free: 2.781 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001481/0.009105, allocations: 198.4 kB / 0.6282 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.742e-05/0.009172, allocations: 12 kB / 0.6282 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009174, allocations: 0 / 0.6282 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.009175, allocations: 0 / 0.6282 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.00978, allocations: 465.7 kB / 0.6286 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.01002, allocations: 201.8 kB / 0.6288 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.359e-05/0.01006, allocations: 59.34 kB / 0.6289 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.01009, allocations: 12.5 kB / 0.6289 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.01009, allocations: 0 / 0.6289 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of Templates: time 0.001612/0.0117, allocations: 0.7386 MB / 0.6296 GB, free: 1.062 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.81827547121793] Failed to read output from testmodel.py, exit status != 0: 0.017084876075387 0.025511962000000003 0.017881937 Calling exit ...