Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009054/0.0009054, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008924/0.0008924, allocations: 173 kB / 23.5 MB, free: 1.051 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.9929/0.9929, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001693/0.001693, allocations: 237.6 kB / 260.5 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7555/0.7555, allocations: 138.4 MB / 455.4 MB, free: 1.52 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.824e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003815/0.003843, allocations: 3.442 MB / 0.5584 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 7.335e-05/0.003916, allocations: 47.81 kB / 0.5584 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.003944, allocations: 3.938 kB / 0.5584 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.004054, allocations: 7.922 kB / 0.5585 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.004123, allocations: 3.938 kB / 0.5585 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.004577, allocations: 203 kB / 0.5586 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.004657, allocations: 35.84 kB / 0.5587 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.004693, allocations: 4 kB / 0.5587 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.067e-05/0.004743, allocations: 15.92 kB / 0.5587 GB, free: 13.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.00481, allocations: 15.97 kB / 0.5587 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.004823, allocations: 0 / 0.5587 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.005036, allocations: 139.5 kB / 0.5588 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.00508, allocations: 7.984 kB / 0.5589 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.005101, allocations: 8 kB / 0.5589 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.005307, allocations: 131.6 kB / 0.559 GB, free: 12.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.00531, allocations: 0 / 0.559 GB, free: 12.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005311, allocations: 4 kB / 0.559 GB, free: 12.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005315, allocations: 0 / 0.559 GB, free: 12.78 MB / 490.7 MB 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.0003356/0.005651, allocations: 376.5 kB / 0.5594 GB, free: 12.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005686, allocations: 8.031 kB / 0.5594 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.005733, allocations: 4.938 kB / 0.5594 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.005823, allocations: 108.6 kB / 0.5595 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/0.005886, allocations: 55.97 kB / 0.5595 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.005896, allocations: 384 / 0.5595 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.006021, allocations: 84.59 kB / 0.5596 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.006027, allocations: 192 / 0.5596 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.006038, allocations: 3.938 kB / 0.5596 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.006062, allocations: 0 / 0.5596 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.006089, allocations: 11.98 kB / 0.5596 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.006512, allocations: 291.8 kB / 0.5599 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.739e-05/0.00655, allocations: 34.94 kB / 0.5599 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.006566, allocations: 15.62 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.006627, allocations: 36.03 kB / 0.56 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.00665, allocations: 37.39 kB / 0.56 GB, free: 11.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.006651, allocations: 0 / 0.56 GB, free: 11.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.006781, allocations: 33.66 kB / 0.56 GB, free: 11.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.006818, allocations: 63.33 kB / 0.5601 GB, free: 11.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.006898, allocations: 157.9 kB / 0.5603 GB, free: 11.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.006908, allocations: 25.7 kB / 0.5603 GB, free: 11.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.006961, allocations: 130.8 kB / 0.5604 GB, free: 11.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.006967, allocations: 12.11 kB / 0.5604 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.006992, allocations: 23.38 kB / 0.5604 GB, free: 11.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.007121, allocations: 492.1 kB / 0.5609 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.007132, allocations: 0 / 0.5609 GB, free: 10.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.007154, allocations: 27.36 kB / 0.5609 GB, free: 10.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.007183, allocations: 23.38 kB / 0.561 GB, free: 10.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007184, allocations: 0 / 0.561 GB, free: 10.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.979e-05/0.007244, allocations: 57.52 kB / 0.561 GB, free: 10.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.007257, allocations: 4.062 kB / 0.561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007262, allocations: 8 kB / 0.561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.007276, allocations: 0 / 0.561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.007316, allocations: 4 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.007321, allocations: 0 / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.007335, allocations: 8.219 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.007343, allocations: 0 / 0.561 GB, free: 10.45 MB / 490.7 MB 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.709e-05/0.0074, allocations: 160.5 kB / 0.5612 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.007417, allocations: 7.938 kB / 0.5612 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.971e-05/0.007517, allocations: 171.7 kB / 0.5614 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.917e-05/0.007566, allocations: 272 kB / 0.5616 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.575e-05/0.007651, allocations: 264.1 kB / 0.5619 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.537e-05/0.007707, allocations: 276.1 kB / 0.5621 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.007855, allocations: 495.8 kB / 0.5626 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/0.007884, allocations: 148.9 kB / 0.5628 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.007915, allocations: 160.8 kB / 0.5629 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.124e-05/0.007966, allocations: 272 kB / 0.5632 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.008024, allocations: 264.1 kB / 0.5634 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001201/0.008144, allocations: 268 kB / 0.5637 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.947e-05/0.008193, allocations: 268.1 kB / 0.5639 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.008305, allocations: 452 kB / 0.5644 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.008341, allocations: 156.8 kB / 0.5645 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.008406, allocations: 272 kB / 0.5648 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.008505, allocations: 152.9 kB / 0.5649 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.008561, allocations: 268 kB / 0.5652 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.008592, allocations: 144.9 kB / 0.5653 GB, free: 5.879 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.847e-05/0.00863, allocations: 131.2 kB / 0.5654 GB, free: 5.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00863, allocations: 0 / 0.5654 GB, free: 5.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.008826, allocations: 35.86 kB / 0.5655 GB, free: 5.715 MB / 490.7 MB 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.0002251/0.009051, allocations: 281.1 kB / 0.5657 GB, free: 5.434 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.009122, allocations: 19.61 kB / 0.5658 GB, free: 5.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009123, allocations: 0 / 0.5658 GB, free: 5.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.009124, allocations: 128 / 0.5658 GB, free: 5.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.00944, allocations: 0.714 MB / 0.5664 GB, free: 4.691 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.009861, allocations: 237.8 kB / 0.5667 GB, free: 4.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.028e-05/0.009891, allocations: 51.36 kB / 0.5667 GB, free: 4.359 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.251e-05/0.009923, allocations: 7.984 kB / 0.5667 GB, free: 4.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.009948, allocations: 20.5 kB / 0.5668 GB, free: 4.332 MB / 490.7 MB Notification: Performance of SimCode: time 9.81e-07/0.009949, allocations: 0 / 0.5668 GB, free: 4.332 MB / 490.7 MB Notification: Performance of Templates: time 0.003156/0.0131, allocations: 1.317 MB / 0.568 GB, free: 3.078 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6624166308902204]