Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.001321/0.001321, allocations: 81.31 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001504/0.001504, allocations: 159.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.36/1.36, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 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.002425/0.002425, allocations: 238.3 kB / 260 MB, free: 424 kB / 238.1 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.875/0.875, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002964/0.002964, allocations: 106.2 kB / 0.6474 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.407, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01341/0.4204, allocations: 11.96 MB / 0.7522 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002435/0.4228, allocations: 2.412 MB / 0.7545 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.4229, allocations: 1.25 kB / 0.7545 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.4232, allocations: 42.33 kB / 0.7546 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.4234, allocations: 103.4 kB / 0.7547 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.4246, allocations: 0.5257 MB / 0.7552 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.4249, allocations: 236.4 kB / 0.7554 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.4249, allocations: 12.62 kB / 0.7554 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008768/0.4337, allocations: 3.587 MB / 0.7589 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.4339, allocations: 86.66 kB / 0.759 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.4339, allocations: 7.625 kB / 0.759 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.4364, allocations: 1.037 MB / 0.76 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.4364, allocations: 41.92 kB / 0.7601 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.4365, allocations: 72.95 kB / 0.7602 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.4372, allocations: 357.3 kB / 0.7605 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4372, allocations: 0 / 0.7605 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4372, allocations: 9.344 kB / 0.7605 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.4372, allocations: 0 / 0.7605 GB, free: 4.66 MB / 0.5919 GB 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.000606/0.4378, allocations: 443.1 kB / 0.7609 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4379, allocations: 11.78 kB / 0.7609 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.438, allocations: 25.39 kB / 0.761 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.4383, allocations: 164.1 kB / 0.7611 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4383, allocations: 11.48 kB / 0.7611 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4383, allocations: 18.3 kB / 0.7611 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.4387, allocations: 484.5 kB / 0.7616 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4387, allocations: 7.875 kB / 0.7616 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.4387, allocations: 14.92 kB / 0.7616 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.4387, allocations: 9.812 kB / 0.7616 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.4391, allocations: 420.9 kB / 0.762 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.4399, allocations: 0.7803 MB / 0.7628 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.4402, allocations: 152.3 kB / 0.7629 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.353e-05/0.4403, allocations: 57.03 kB / 0.763 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.4409, allocations: 461.5 kB / 0.7634 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.4409, allocations: 40.69 kB / 0.7635 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.4409, allocations: 1.125 kB / 0.7635 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0002935/0.4412, allocations: 143.9 kB / 0.7636 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.4412, allocations: 57.62 kB / 0.7637 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.4413, allocations: 164.5 kB / 0.7638 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4413, allocations: 32.11 kB / 0.7639 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.4414, allocations: 140 kB / 0.764 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.4414, allocations: 62.28 kB / 0.7641 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.4415, allocations: 53.53 kB / 0.7641 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.4415, allocations: 322 kB / 0.7644 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.4416, allocations: 37.67 kB / 0.7644 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.4417, allocations: 137.2 kB / 0.7646 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.4418, allocations: 206.6 kB / 0.7648 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4418, allocations: 1.375 kB / 0.7648 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002762/0.4421, allocations: 210.2 kB / 0.765 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4421, allocations: 6.656 kB / 0.765 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.4421, allocations: 3.969 kB / 0.765 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4422, allocations: 5.219 kB / 0.765 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.4423, allocations: 60.69 kB / 0.765 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4423, allocations: 17.17 kB / 0.7651 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.767e-05/0.4424, allocations: 27.38 kB / 0.7651 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4425, allocations: 15.84 kB / 0.7651 GB, free: 0.793 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.116e-05/0.4425, allocations: 138.9 kB / 0.7652 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.4426, allocations: 11.48 kB / 0.7652 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.4428, allocations: 147.4 kB / 0.7654 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4428, allocations: 2.281 kB / 0.7654 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4428, allocations: 5.062 kB / 0.7654 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4428, allocations: 0 / 0.7654 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.443, allocations: 151.3 kB / 0.7655 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.443, allocations: 3.984 kB / 0.7655 GB, free: 408 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.4431, allocations: 39.53 kB / 0.7656 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4431, allocations: 1.219 kB / 0.7656 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.4431, allocations: 9.156 kB / 0.7656 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4431, allocations: 1.031 kB / 0.7656 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4431, allocations: 3.938 kB / 0.7656 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.4433, allocations: 217.3 kB / 0.7658 GB, free: 204 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.4434, allocations: 37.36 kB / 0.7658 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4434, allocations: 1.125 kB / 0.7658 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.4436, allocations: 19.52 kB / 0.7659 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.4436, allocations: 7.766 kB / 0.7659 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.4436, allocations: 23.61 kB / 0.7659 GB, free: 144 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.725e-05/0.4437, allocations: 106.5 kB / 0.766 GB, free: 56 kB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4437, allocations: 4 kB / 0.766 GB, free: 52 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003714/0.444, allocations: 87.44 kB / 0.7661 GB, free: 24 kB / 0.5919 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002975/0.4443, allocations: 184.1 kB / 0.7663 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.4445, allocations: 111.6 kB / 0.7664 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4445, allocations: 1.125 kB / 0.7664 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.4446, allocations: 46.3 kB / 0.7664 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.445, allocations: 38.72 kB / 0.7664 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.4456, allocations: 332.7 kB / 0.7668 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.4457, allocations: 115.4 kB / 0.7669 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.4459, allocations: 48.45 kB / 0.7669 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.4459, allocations: 37.8 kB / 0.767 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.4459, allocations: 0 / 0.767 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of Templates: time 0.007075/0.453, allocations: 3.339 MB / 0.7702 GB, free: 13.73 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7024388670688495] Failed to read output from testmodel.py, exit status != 0: 0.46106920298188925 0.474350822 0.034278431000000005 Calling exit ...