Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.0007567/0.0007567, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0007674/0.0007674, allocations: 207.8 kB / 23.01 MB, free: 3.121 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.8753/0.8753, allocations: 230.6 MB / 256.8 MB, free: 3.461 MB / 202.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-531:190: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-531:198: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.7721/0.7721, allocations: 203.8 MB / 0.5049 GB, free: 0.6797 MB / 410.7 MB " [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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [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.0009077/0.0009077, allocations: 67.89 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4556, allocations: 102 MB / 0.8191 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003662/0.4593, allocations: 3.4 MB / 0.8224 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 7.029e-05/0.4594, allocations: 63.08 kB / 0.8225 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.4594, allocations: 0 / 0.8225 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.4595, allocations: 3.172 kB / 0.8225 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.513e-05/0.4596, allocations: 9.453 kB / 0.8225 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.46, allocations: 208.5 kB / 0.8227 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.4601, allocations: 25.34 kB / 0.8227 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.4602, allocations: 6.859 kB / 0.8227 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.498e-05/0.4602, allocations: 24.75 kB / 0.8227 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.4603, allocations: 9.094 kB / 0.8227 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.4603, allocations: 2.281 kB / 0.8227 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.4606, allocations: 187.9 kB / 0.8229 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.4606, allocations: 5.266 kB / 0.8229 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.4607, allocations: 13.06 kB / 0.8229 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.4609, allocations: 146.3 kB / 0.8231 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4609, allocations: 1.281 kB / 0.8231 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4609, allocations: 0 / 0.8231 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4609, allocations: 0 / 0.8231 GB, free: 22.5 MB / 0.6355 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.0003059/0.4612, allocations: 271.2 kB / 0.8233 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4613, allocations: 11.41 kB / 0.8234 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.4613, allocations: 5.625 kB / 0.8234 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.083e-05/0.4614, allocations: 109.1 kB / 0.8235 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.4614, allocations: 53.47 kB / 0.8235 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.4614, allocations: 2.281 kB / 0.8235 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.4615, allocations: 55.78 kB / 0.8236 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.4615, allocations: 0 / 0.8236 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4616, allocations: 1.188 kB / 0.8236 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.4616, allocations: 3.453 kB / 0.8236 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.4616, allocations: 16.7 kB / 0.8236 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.462, allocations: 257.6 kB / 0.8238 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.094e-05/0.462, allocations: 23.83 kB / 0.8239 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.4621, allocations: 6.406 kB / 0.8239 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.955e-05/0.4621, allocations: 47.16 kB / 0.8239 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.4621, allocations: 32.3 kB / 0.8239 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.4621, allocations: 0 / 0.8239 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.4623, allocations: 39.42 kB / 0.824 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.4623, allocations: 52.34 kB / 0.824 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.4623, allocations: 102.7 kB / 0.8241 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-06/0.4623, allocations: 26.77 kB / 0.8241 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.4624, allocations: 86.03 kB / 0.8242 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-06/0.4624, allocations: 9.109 kB / 0.8242 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.4624, allocations: 18.48 kB / 0.8243 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.219e-05/0.4624, allocations: 317.1 kB / 0.8246 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.4624, allocations: 7 kB / 0.8246 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.4625, allocations: 14.97 kB / 0.8246 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.4625, allocations: 24.83 kB / 0.8246 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4625, allocations: 0.9688 kB / 0.8246 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.115e-05/0.4625, allocations: 50.03 kB / 0.8247 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4626, allocations: 4.938 kB / 0.8247 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4626, allocations: 2.156 kB / 0.8247 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.4626, allocations: 1.375 kB / 0.8247 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.4626, allocations: 4.938 kB / 0.8247 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4626, allocations: 6.078 kB / 0.8247 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.4626, allocations: 0 / 0.8247 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4626, allocations: 6.625 kB / 0.8247 GB, free: 20.9 MB / 0.6355 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 3.617e-05/0.4627, allocations: 115.8 kB / 0.8248 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.4627, allocations: 3.203 kB / 0.8248 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/0.4628, allocations: 121.5 kB / 0.8249 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.4628, allocations: 178 kB / 0.8251 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.4628, allocations: 182.1 kB / 0.8252 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.4628, allocations: 186.3 kB / 0.8254 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.147e-05/0.4629, allocations: 374.7 kB / 0.8258 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.4629, allocations: 114.4 kB / 0.8259 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.4629, allocations: 107.1 kB / 0.826 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/0.4629, allocations: 181.3 kB / 0.8262 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.463, allocations: 186.5 kB / 0.8263 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.463, allocations: 182.2 kB / 0.8265 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-05/0.463, allocations: 181 kB / 0.8267 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.297e-05/0.463, allocations: 318.2 kB / 0.827 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.4631, allocations: 104.6 kB / 0.8271 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.4631, allocations: 186.1 kB / 0.8273 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.4632, allocations: 105.8 kB / 0.8274 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.4632, allocations: 182.1 kB / 0.8275 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4632, allocations: 107.3 kB / 0.8277 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.269e-05/0.4632, allocations: 81.92 kB / 0.8277 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4632, allocations: 0 / 0.8277 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000191/0.4634, allocations: 45.09 kB / 0.8278 GB, free: 17.62 MB / 0.6355 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.0002358/0.4636, allocations: 227.1 kB / 0.828 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.4637, allocations: 15.25 kB / 0.828 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4637, allocations: 0.5 kB / 0.828 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.4637, allocations: 4.438 kB / 0.828 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.464, allocations: 456.5 kB / 0.8284 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.4642, allocations: 206.5 kB / 0.8286 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.4644, allocations: 0.6786 MB / 0.8293 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.4644, allocations: 9.219 kB / 0.8293 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/0.4644, allocations: 0.5 kB / 0.8293 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of Templates: time 0.003313/0.4677, allocations: 1.185 MB / 0.8305 GB, free: 15.89 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.755524464184418] Failed to read output from testmodel.py, exit status != 0: 0.4736736661288887 0.482264624 0.019668727 Calling exit ...