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.0008693/0.0008693, allocations: 73.97 kB / 20.66 MB, free: 3.836 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.0009719/0.0009719, allocations: 165 kB / 24.06 MB, free: 448 kB / 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 1.056/1.056, allocations: 177.1 MB / 204.5 MB, free: 5.504 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-545:108: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-545:116: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.8004/0.8004, allocations: 154.6 MB / 415.6 MB, free: 0.5039 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.453e-06/1.453e-06, allocations: 0.7656 kB / 0.5215 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.541e-05, allocations: 4.562 kB / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003673/0.003689, allocations: 3.812 MB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001314/0.00382, allocations: 160.2 kB / 0.5254 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.174e-05/0.003832, allocations: 0.8438 kB / 0.5254 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.732e-05/0.003879, allocations: 7.922 kB / 0.5254 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.003917, allocations: 18.64 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.004087, allocations: 83.67 kB / 0.5255 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.715e-05/0.004134, allocations: 31.86 kB / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.088e-05/0.004155, allocations: 4.5 kB / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.004187, allocations: 19.91 kB / 0.5255 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.862e-05/0.004225, allocations: 12.48 kB / 0.5255 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.004233, allocations: 1.094 kB / 0.5255 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.004548, allocations: 216 kB / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.004571, allocations: 7.984 kB / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.111e-05/0.004582, allocations: 8 kB / 0.5258 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.004666, allocations: 64.38 kB / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.00467, allocations: 5.328 kB / 0.5258 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.11e-07/0.00467, allocations: 0 / 0.5258 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.004673, allocations: 0 / 0.5258 GB, free: 13.47 MB / 0.4948 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.0002101/0.004883, allocations: 360.3 kB / 0.5262 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.482e-05/0.004908, allocations: 12.62 kB / 0.5262 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.00493, allocations: 6.703 kB / 0.5262 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.996e-05/0.00498, allocations: 108.6 kB / 0.5263 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.005014, allocations: 51.97 kB / 0.5263 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.005021, allocations: 4.375 kB / 0.5264 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.892e-05/0.00509, allocations: 79.97 kB / 0.5264 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-06/0.005094, allocations: 4.172 kB / 0.5264 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.0051, allocations: 3.938 kB / 0.5264 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.005111, allocations: 7.938 kB / 0.5264 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.005126, allocations: 7.984 kB / 0.5265 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.005303, allocations: 236.5 kB / 0.5267 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.436e-05/0.005327, allocations: 27.06 kB / 0.5267 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-06/0.005337, allocations: 11.69 kB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.005366, allocations: 10.52 kB / 0.5267 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.005541, allocations: 49.27 kB / 0.5268 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.005542, allocations: 0 / 0.5268 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 6.196e-05/0.005604, allocations: 29.7 kB / 0.5268 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.005624, allocations: 55.41 kB / 0.5269 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.711e-05/0.005681, allocations: 162.9 kB / 0.527 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.005694, allocations: 25.7 kB / 0.527 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.005732, allocations: 139.8 kB / 0.5272 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-06/0.005737, allocations: 7.953 kB / 0.5272 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.005757, allocations: 19.38 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.005866, allocations: 497.1 kB / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-06/0.00587, allocations: 3.938 kB / 0.5277 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/0.005887, allocations: 27.3 kB / 0.5277 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.00591, allocations: 30.91 kB / 0.5277 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.005911, allocations: 0 / 0.5277 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.352e-05/0.005954, allocations: 49.56 kB / 0.5278 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.005963, allocations: 4 kB / 0.5278 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005968, allocations: 0 / 0.5278 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.005977, allocations: 0 / 0.5278 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.006001, allocations: 14.86 kB / 0.5278 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.006004, allocations: 0 / 0.5278 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.043e-05/0.006014, allocations: 0 / 0.5278 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.00602, allocations: 4 kB / 0.5278 GB, free: 11.25 MB / 0.4948 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.378e-05/0.006074, allocations: 156.6 kB / 0.5279 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.00609, allocations: 7.891 kB / 0.528 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.589e-05/0.006176, allocations: 171.2 kB / 0.5281 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.668e-05/0.006232, allocations: 269.7 kB / 0.5284 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.288e-05/0.006285, allocations: 264.1 kB / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.305e-05/0.006338, allocations: 268 kB / 0.5289 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.006491, allocations: 484.5 kB / 0.5293 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/0.006521, allocations: 149.9 kB / 0.5295 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.006553, allocations: 153 kB / 0.5296 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.457e-05/0.006608, allocations: 272 kB / 0.5299 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.138e-05/0.006669, allocations: 264.7 kB / 0.5301 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.097e-05/0.00673, allocations: 276 kB / 0.5304 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.26e-05/0.006793, allocations: 272.7 kB / 0.5307 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.006902, allocations: 448.5 kB / 0.5311 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.006937, allocations: 144.9 kB / 0.5312 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.007001, allocations: 269.6 kB / 0.5315 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.007082, allocations: 156.8 kB / 0.5316 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.007141, allocations: 264.1 kB / 0.5319 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.007177, allocations: 152.8 kB / 0.532 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.76e-05/0.007215, allocations: 136.1 kB / 0.5322 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007215, allocations: 0 / 0.5322 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001498/0.007365, allocations: 16.59 kB / 0.5322 GB, free: 6.578 MB / 0.4948 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.0001143/0.007479, allocations: 238.8 kB / 0.5324 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.599e-05/0.007535, allocations: 16.61 kB / 0.5324 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007536, allocations: 0.5625 kB / 0.5324 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.007538, allocations: 0 / 0.5324 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.007854, allocations: 0.721 MB / 0.5331 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.008146, allocations: 227.8 kB / 0.5333 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.672e-05/0.008173, allocations: 51.36 kB / 0.5334 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.008197, allocations: 11.97 kB / 0.5334 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.008256, allocations: 88.61 kB / 0.5335 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.008257, allocations: 0 / 0.5335 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of Templates: time 0.002275/0.01053, allocations: 0.7518 MB / 0.5342 GB, free: 4.469 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7358855111524463]