Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001403/0.001403, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 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.001593/0.001593, allocations: 161.7 kB / 22.76 MB, free: 1.684 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 1.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.231/1.231, allocations: 154.8 MB / 414.3 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.5198 GB, free: 2.348 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.542e-05, allocations: 3.578 kB / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.008144/0.008179, allocations: 3.624 MB / 0.5234 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.008503, allocations: 137.4 kB / 0.5235 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.008534, allocations: 3.938 kB / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.008732, allocations: 8.609 kB / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.008861, allocations: 11.92 kB / 0.5235 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.009442, allocations: 81.48 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.009572, allocations: 36.58 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.009635, allocations: 0 / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.00973, allocations: 35.12 kB / 0.5237 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.00984, allocations: 7.984 kB / 0.5237 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.009863, allocations: 4 kB / 0.5237 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009032/0.01077, allocations: 211.1 kB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.01083, allocations: 7.984 kB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.01087, allocations: 4 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.01112, allocations: 71.73 kB / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.01113, allocations: 0.9688 kB / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.034e-06/0.01113, allocations: 0 / 0.524 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.01114, allocations: 0 / 0.524 GB, free: 14.13 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.0006975/0.01183, allocations: 260.3 kB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.01189, allocations: 8.031 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.871e-05/0.01197, allocations: 0.9375 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.01215, allocations: 117.7 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.01229, allocations: 52.69 kB / 0.5244 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.01231, allocations: 4.375 kB / 0.5244 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.01253, allocations: 68.64 kB / 0.5244 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.01255, allocations: 8.109 kB / 0.5244 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.01256, allocations: 4.531 kB / 0.5245 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.01259, allocations: 4.688 kB / 0.5245 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.01264, allocations: 8 kB / 0.5245 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.01324, allocations: 206 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.462e-05/0.0133, allocations: 18.58 kB / 0.5247 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.01333, allocations: 12.8 kB / 0.5247 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/0.01339, allocations: 5.688 kB / 0.5247 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.01344, allocations: 38.5 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.01344, allocations: 0 / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002125/0.01366, allocations: 36.44 kB / 0.5248 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.01371, allocations: 55.41 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.01383, allocations: 101.8 kB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.01386, allocations: 25.7 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.01395, allocations: 92.03 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.01397, allocations: 7.953 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.01401, allocations: 13.72 kB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.01424, allocations: 310.8 kB / 0.5253 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.01427, allocations: 14.02 kB / 0.5254 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.01431, allocations: 17.66 kB / 0.5254 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.655e-05/0.01435, allocations: 21.72 kB / 0.5254 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01435, allocations: 0.9375 kB / 0.5254 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.671e-05/0.01445, allocations: 53.56 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.01447, allocations: 5.969 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.01448, allocations: 4 kB / 0.5255 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.01451, allocations: 0.6562 kB / 0.5255 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.01457, allocations: 11.23 kB / 0.5255 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01457, allocations: 0 / 0.5255 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.0146, allocations: 7.938 kB / 0.5255 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01461, allocations: 0 / 0.5255 GB, free: 12.39 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 0.0001219/0.01473, allocations: 109.8 kB / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.01476, allocations: 3.938 kB / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.01495, allocations: 132.9 kB / 0.5257 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/0.01506, allocations: 176.3 kB / 0.5259 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001269/0.01518, allocations: 187.3 kB / 0.5261 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001317/0.01531, allocations: 176.3 kB / 0.5262 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.0156, allocations: 356.9 kB / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.487e-05/0.01568, allocations: 104.9 kB / 0.5267 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.01575, allocations: 101 kB / 0.5268 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.01585, allocations: 188.1 kB / 0.5269 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.01596, allocations: 180.2 kB / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000137/0.0161, allocations: 184.3 kB / 0.5273 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.917e-05/0.0162, allocations: 186 kB / 0.5275 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.01643, allocations: 300 kB / 0.5278 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.01652, allocations: 112.9 kB / 0.5279 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.01665, allocations: 184.2 kB / 0.528 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.01685, allocations: 112.9 kB / 0.5281 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.01697, allocations: 182.7 kB / 0.5283 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.01705, allocations: 108.9 kB / 0.5284 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.753e-05/0.01713, allocations: 83.28 kB / 0.5285 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01713, allocations: 3.938 kB / 0.5285 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003167/0.01744, allocations: 15.94 kB / 0.5285 GB, free: 9.094 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.0003236/0.01777, allocations: 195.3 kB / 0.5287 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.01787, allocations: 4.531 kB / 0.5287 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.01788, allocations: 4 kB / 0.5287 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-06/0.01788, allocations: 5.438 kB / 0.5287 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.01894, allocations: 459.7 kB / 0.5292 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.0194, allocations: 181.1 kB / 0.5293 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.918e-05/0.0195, allocations: 59.34 kB / 0.5294 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.884e-05/0.01956, allocations: 11.89 kB / 0.5294 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.0196, allocations: 9.25 kB / 0.5294 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.0196, allocations: 4.656 kB / 0.5294 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of Templates: time 0.004176/0.02377, allocations: 0.6883 MB / 0.5301 GB, free: 7.48 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9872642629779875]