Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001095/0.001095, allocations: 93.06 kB / 19.65 MB, free: 272 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.001066/0.001066, allocations: 169 kB / 23.02 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.9403/0.9403, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.001823/0.001823, allocations: 242.1 kB / 260.2 MB, free: 12.81 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.7295/0.7295, allocations: 138.4 MB / 455.2 MB, free: 1.543 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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 3.938 kB / 0.5552 GB, free: 476 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.931e-05, allocations: 6.312 kB / 0.5552 GB, free: 468 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006927/0.006956, allocations: 4.23 MB / 0.5593 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.009061, allocations: 2.57 MB / 0.5618 GB, free: 9.621 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.009127, allocations: 4 kB / 0.5618 GB, free: 9.617 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.009361, allocations: 63.56 kB / 0.5619 GB, free: 9.555 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.009587, allocations: 111.2 kB / 0.562 GB, free: 9.445 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009849/0.01057, allocations: 0.63 MB / 0.5626 GB, free: 8.812 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.01082, allocations: 295.7 kB / 0.5629 GB, free: 8.523 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.01085, allocations: 5.812 kB / 0.5629 GB, free: 8.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.01104, allocations: 167.6 kB / 0.563 GB, free: 8.355 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.01114, allocations: 83.75 kB / 0.5631 GB, free: 8.273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.01116, allocations: 8 kB / 0.5631 GB, free: 8.266 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004671/0.01163, allocations: 427 kB / 0.5635 GB, free: 7.848 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.01169, allocations: 43.89 kB / 0.5636 GB, free: 7.805 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.01175, allocations: 63.83 kB / 0.5636 GB, free: 7.742 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.01218, allocations: 414.8 kB / 0.564 GB, free: 7.336 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01219, allocations: 0 / 0.564 GB, free: 7.336 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01219, allocations: 0 / 0.564 GB, free: 7.336 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01219, allocations: 4 kB / 0.564 GB, free: 7.332 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005567/0.01275, allocations: 0.5349 MB / 0.5646 GB, free: 6.758 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.01278, allocations: 8.75 kB / 0.5646 GB, free: 6.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009896/0.01377, allocations: 252 kB / 0.5648 GB, free: 6.504 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.01395, allocations: 148.4 kB / 0.565 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.01396, allocations: 16.7 kB / 0.565 GB, free: 6.316 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.01399, allocations: 20.38 kB / 0.565 GB, free: 6.297 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.01437, allocations: 0.4956 MB / 0.5655 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.01438, allocations: 192 / 0.5655 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.0144, allocations: 16.06 kB / 0.5655 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.01442, allocations: 4 kB / 0.5655 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.01465, allocations: 191.6 kB / 0.5657 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01569, allocations: 1.614 MB / 0.5673 GB, free: 3.801 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.01595, allocations: 157.8 kB / 0.5674 GB, free: 3.637 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.01602, allocations: 59.66 kB / 0.5675 GB, free: 3.574 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.01604, allocations: 4 kB / 0.5675 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.01607, allocations: 45.33 kB / 0.5675 GB, free: 3.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.01607, allocations: 0 / 0.5675 GB, free: 3.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003065/0.01637, allocations: 197.4 kB / 0.5677 GB, free: 3.316 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.0164, allocations: 55.41 kB / 0.5678 GB, free: 3.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.01649, allocations: 208.9 kB / 0.568 GB, free: 3.031 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.01651, allocations: 33.7 kB / 0.568 GB, free: 2.992 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.01657, allocations: 175 kB / 0.5681 GB, free: 2.816 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.0166, allocations: 63.44 kB / 0.5682 GB, free: 2.754 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.01666, allocations: 55.58 kB / 0.5683 GB, free: 2.688 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01676, allocations: 0.4923 MB / 0.5687 GB, free: 2.184 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.01683, allocations: 44.44 kB / 0.5688 GB, free: 2.141 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.01693, allocations: 161.4 kB / 0.5689 GB, free: 1.938 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.01711, allocations: 196.4 kB / 0.5691 GB, free: 1.699 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01711, allocations: 0 / 0.5691 GB, free: 1.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002387/0.01735, allocations: 227.8 kB / 0.5693 GB, free: 1.473 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01736, allocations: 15.88 kB / 0.5694 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01737, allocations: 0 / 0.5694 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.01738, allocations: 4 kB / 0.5694 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01756, allocations: 68.2 kB / 0.5694 GB, free: 1.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01756, allocations: 11.98 kB / 0.5694 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.01766, allocations: 19.89 kB / 0.5695 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.01767, allocations: 15.98 kB / 0.5695 GB, free: 1.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 8.586e-05/0.01776, allocations: 172.5 kB / 0.5696 GB, free: 1.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.0178, allocations: 23.84 kB / 0.5697 GB, free: 1.137 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.01805, allocations: 193 kB / 0.5698 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.01805, allocations: 4 kB / 0.5698 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01806, allocations: 0 / 0.5698 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01806, allocations: 0 / 0.5698 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01823, allocations: 188.7 kB / 0.57 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01823, allocations: 0 / 0.57 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.01836, allocations: 51.97 kB / 0.5701 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01836, allocations: 0 / 0.5701 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.01838, allocations: 11.94 kB / 0.5701 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01838, allocations: 3.938 kB / 0.5701 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01838, allocations: 0 / 0.5701 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.01862, allocations: 307.8 kB / 0.5704 GB, free: 344 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.01867, allocations: 27.88 kB / 0.5704 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.01869, allocations: 7.938 kB / 0.5704 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01879, allocations: 11.98 kB / 0.5704 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.01882, allocations: 19.97 kB / 0.5705 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.01883, allocations: 7.984 kB / 0.5705 GB, free: 268 kB / 490.7 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.01888, allocations: 143.2 kB / 0.5706 GB, free: 124 kB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01888, allocations: 4 kB / 0.5706 GB, free: 120 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.01911, allocations: 63.94 kB / 0.5707 GB, free: 56 kB / 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 (20): * Single equations (assignments): 20 * 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.0001768/0.01928, allocations: 143 kB / 0.5708 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.01949, allocations: 150.1 kB / 0.5709 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01949, allocations: 4 kB / 0.5709 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.01956, allocations: 78.44 kB / 0.571 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.01986, allocations: 71.92 kB / 0.5711 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.0206, allocations: 378.7 kB / 0.5714 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.02064, allocations: 72.7 kB / 0.5715 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.0208, allocations: 49.45 kB / 0.5716 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.02086, allocations: 32.48 kB / 0.5716 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.02086, allocations: 0 / 0.5716 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.005304/0.02617, allocations: 3.753 MB / 0.5753 GB, free: 11.39 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7172873760573566]