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.001344/0.001344, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001677/0.001677, allocations: 170 kB / 23.27 MB, free: 1.223 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.9642/0.9642, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.002002/0.002002, allocations: 234.3 kB / 260.5 MB, free: 12.69 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.7856/0.7856, allocations: 138.4 MB / 455.5 MB, free: 1.402 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.533e-06/1.533e-06, allocations: 0 / 0.5556 GB, free: 204 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.36e-05, allocations: 5.969 kB / 0.5557 GB, free: 200 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004674/0.004698, allocations: 4.198 MB / 0.5598 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.006633, allocations: 2.566 MB / 0.5623 GB, free: 9.391 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.006727, allocations: 0 / 0.5623 GB, free: 9.391 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.006989, allocations: 55.73 kB / 0.5623 GB, free: 9.336 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.007254, allocations: 115.2 kB / 0.5624 GB, free: 9.223 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.008893, allocations: 0.6308 MB / 0.563 GB, free: 8.594 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.009184, allocations: 299.7 kB / 0.5633 GB, free: 8.301 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.009226, allocations: 5.812 kB / 0.5633 GB, free: 8.297 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.009464, allocations: 167.5 kB / 0.5635 GB, free: 8.133 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.009579, allocations: 83.77 kB / 0.5636 GB, free: 8.051 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.009599, allocations: 8 kB / 0.5636 GB, free: 8.043 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006086/0.01021, allocations: 423.1 kB / 0.564 GB, free: 7.629 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.01028, allocations: 47.83 kB / 0.564 GB, free: 7.582 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.01035, allocations: 63.89 kB / 0.5641 GB, free: 7.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004979/0.01084, allocations: 414.7 kB / 0.5645 GB, free: 7.113 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01085, allocations: 0 / 0.5645 GB, free: 7.113 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01085, allocations: 0 / 0.5645 GB, free: 7.113 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.01085, allocations: 0 / 0.5645 GB, free: 7.113 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.0007164/0.01157, allocations: 0.5426 MB / 0.565 GB, free: 6.531 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.01161, allocations: 8.75 kB / 0.565 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.01304, allocations: 252 kB / 0.5653 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.01629, allocations: 152.4 kB / 0.5654 GB, free: 6.102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.01631, allocations: 20.58 kB / 0.5654 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.01636, allocations: 20.38 kB / 0.5654 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.01681, allocations: 487.4 kB / 0.5659 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.01682, allocations: 4.188 kB / 0.5659 GB, free: 5.488 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.01685, allocations: 16.12 kB / 0.5659 GB, free: 5.473 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.01688, allocations: 4 kB / 0.5659 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.01711, allocations: 151.7 kB / 0.5661 GB, free: 5.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01835, allocations: 1.588 MB / 0.5676 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.01864, allocations: 147.1 kB / 0.5678 GB, free: 3.504 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.061e-05/0.01871, allocations: 55.59 kB / 0.5678 GB, free: 3.445 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.01873, allocations: 4 kB / 0.5678 GB, free: 3.441 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.01876, allocations: 41.39 kB / 0.5679 GB, free: 3.391 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 3.507e-06/0.01877, allocations: 4 kB / 0.5679 GB, free: 3.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003537/0.01912, allocations: 172.1 kB / 0.568 GB, free: 3.215 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.01915, allocations: 55.41 kB / 0.5681 GB, free: 3.148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003145/0.02229, allocations: 205.7 kB / 0.5683 GB, free: 2.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.02233, allocations: 29.7 kB / 0.5683 GB, free: 2.895 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.02242, allocations: 182.9 kB / 0.5685 GB, free: 2.711 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.02246, allocations: 63.42 kB / 0.5685 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.02255, allocations: 59.56 kB / 0.5686 GB, free: 2.578 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.02269, allocations: 0.4962 MB / 0.5691 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.02276, allocations: 32.44 kB / 0.5691 GB, free: 2.039 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.02288, allocations: 145.4 kB / 0.5693 GB, free: 1.852 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.0231, allocations: 187.8 kB / 0.5694 GB, free: 1.625 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.0231, allocations: 4 kB / 0.5694 GB, free: 1.621 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005815/0.02368, allocations: 201.2 kB / 0.5696 GB, free: 1.418 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.0237, allocations: 4 kB / 0.5696 GB, free: 1.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.02371, allocations: 7.938 kB / 0.5696 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.02373, allocations: 4 kB / 0.5696 GB, free: 1.402 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.02398, allocations: 67.89 kB / 0.5697 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.02399, allocations: 4 kB / 0.5697 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.02412, allocations: 23.88 kB / 0.5697 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.02414, allocations: 8.312 kB / 0.5697 GB, free: 1.301 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 0.0001082/0.02425, allocations: 180.4 kB / 0.5699 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.0243, allocations: 23.89 kB / 0.5699 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.0246, allocations: 174.6 kB / 0.5701 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.0246, allocations: 4 kB / 0.5701 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.0246, allocations: 0 / 0.5701 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.02461, allocations: 0 / 0.5701 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.02482, allocations: 157 kB / 0.5703 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02482, allocations: 3.984 kB / 0.5703 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.025, allocations: 51.91 kB / 0.5703 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.025, allocations: 0 / 0.5703 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.02502, allocations: 4 kB / 0.5703 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.02502, allocations: 4 kB / 0.5703 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.02502, allocations: 3.938 kB / 0.5703 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/0.02833, allocations: 295.7 kB / 0.5706 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.02841, allocations: 27.88 kB / 0.5706 GB, free: 336 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.02843, allocations: 8 kB / 0.5706 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.02857, allocations: 11.98 kB / 0.5707 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.0286, allocations: 15.92 kB / 0.5707 GB, free: 300 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.02862, allocations: 11.98 kB / 0.5707 GB, free: 288 kB / 490.7 MB Notification: Performance of sorting global known variables: time 5.594e-05/0.02868, allocations: 142 kB / 0.5708 GB, free: 148 kB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02868, allocations: 4 kB / 0.5708 GB, free: 144 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.02904, allocations: 67.94 kB / 0.5709 GB, free: 76 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.0002233/0.02927, allocations: 135.1 kB / 0.571 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.0295, allocations: 141.8 kB / 0.5711 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0295, allocations: 0 / 0.5711 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.02958, allocations: 71.58 kB / 0.5712 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.03001, allocations: 68.55 kB / 0.5713 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.0309, allocations: 370.7 kB / 0.5716 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.03096, allocations: 80.69 kB / 0.5717 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003234/0.03419, allocations: 45.45 kB / 0.5718 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.03443, allocations: 154.1 kB / 0.5719 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.653e-06/0.03443, allocations: 0 / 0.5719 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.01332/0.04775, allocations: 3.811 MB / 0.5756 GB, free: 11.25 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.706036923918873]