Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.0009945/0.0009945, allocations: 92.22 kB / 19.65 MB, free: 276 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.001004/0.001004, allocations: 173 kB / 23.03 MB, free: 1.543 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.9568/0.9568, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7829/0.7829, allocations: 154.9 MB / 414.8 MB, free: 388 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 179] 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.5207 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.408e-05, allocations: 4.281 kB / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005862/0.005896, allocations: 4.153 MB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0001525/0.006048, allocations: 165.3 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.00607, allocations: 0 / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.006172, allocations: 4.625 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.006244, allocations: 19.84 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.006551, allocations: 89.73 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.322e-05/0.006634, allocations: 39.84 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.086e-05/0.006665, allocations: 1.375 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.006715, allocations: 15.98 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.006779, allocations: 15.91 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.006792, allocations: 4.75 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.006968, allocations: 47.83 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.00702, allocations: 20.41 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.007041, allocations: 4.969 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.007158, allocations: 59.86 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.007161, allocations: 0 / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.21e-07/0.007161, allocations: 1.031 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.007166, allocations: 0 / 0.5252 GB, free: 13.23 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.0003265/0.007492, allocations: 362.8 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.007526, allocations: 8.031 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.007567, allocations: 1.281 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.087e-05/0.007647, allocations: 116.6 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.007711, allocations: 59.95 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.007724, allocations: 8.312 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.00789, allocations: 78.16 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.007899, allocations: 4.188 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.007909, allocations: 3.938 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.007934, allocations: 0 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.007957, allocations: 4 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.008303, allocations: 260.8 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.959e-05/0.008343, allocations: 35.03 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.008359, allocations: 16.66 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.008399, allocations: 8.047 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.008424, allocations: 38.39 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.008425, allocations: 0 / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001252/0.00855, allocations: 34.44 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.008577, allocations: 51.41 kB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.008654, allocations: 168.6 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.008664, allocations: 25.7 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.008711, allocations: 134.8 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.008718, allocations: 11.95 kB / 0.5265 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.008744, allocations: 19.38 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.008845, allocations: 492.1 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.008855, allocations: 0 / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.008875, allocations: 30.27 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.008904, allocations: 23.38 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008906, allocations: 0 / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.565e-05/0.008961, allocations: 53.56 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.008973, allocations: 4 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.008978, allocations: 1.469 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.00899, allocations: 4 kB / 0.5271 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.584e-05/0.009026, allocations: 4 kB / 0.5271 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.009031, allocations: 0 / 0.5271 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.009047, allocations: 0.5 kB / 0.5271 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.009058, allocations: 7.281 kB / 0.5272 GB, free: 10.98 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 6.148e-05/0.009119, allocations: 160.5 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.009138, allocations: 15.88 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.009239, allocations: 159.7 kB / 0.5275 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-05/0.009294, allocations: 264.1 kB / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.698e-05/0.009361, allocations: 276 kB / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.327e-05/0.009434, allocations: 276 kB / 0.5283 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.009626, allocations: 499.9 kB / 0.5287 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.125e-05/0.009667, allocations: 151.4 kB / 0.5289 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.009697, allocations: 148.9 kB / 0.529 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-05/0.009756, allocations: 276 kB / 0.5293 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.00989, allocations: 264.4 kB / 0.5295 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.385e-05/0.009944, allocations: 268 kB / 0.5298 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.275e-05/0.009996, allocations: 272.1 kB / 0.53 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.01012, allocations: 453 kB / 0.5305 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.01016, allocations: 156.8 kB / 0.5306 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.01023, allocations: 268 kB / 0.5309 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.01033, allocations: 154.9 kB / 0.531 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.01052, allocations: 268 kB / 0.5313 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.01055, allocations: 148.9 kB / 0.5314 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.01059, allocations: 131.2 kB / 0.5316 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.7e-07/0.01059, allocations: 0 / 0.5316 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001654/0.01076, allocations: 18.38 kB / 0.5316 GB, free: 6.27 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.0001555/0.01092, allocations: 233.8 kB / 0.5318 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.191e-05/0.01099, allocations: 23.62 kB / 0.5318 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01099, allocations: 0 / 0.5318 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.01099, allocations: 0 / 0.5318 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.01129, allocations: 0.7078 MB / 0.5325 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.01203, allocations: 239.2 kB / 0.5327 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.184e-05/0.01206, allocations: 55.22 kB / 0.5328 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.0121, allocations: 9.078 kB / 0.5328 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.01212, allocations: 8.5 kB / 0.5328 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.01212, allocations: 0.6562 kB / 0.5328 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of Templates: time 0.002551/0.01467, allocations: 0.7214 MB / 0.5335 GB, free: 4.258 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.752732531633228]