Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.000979/0.000979, allocations: 93.06 kB / 19.65 MB, free: 280 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.001048/0.001048, allocations: 169 kB / 23.02 MB, free: 1.551 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.9509/0.9509, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.001724/0.001724, allocations: 238.2 kB / 260.2 MB, free: 12.79 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.7613/0.7613, allocations: 138.4 MB / 455.2 MB, free: 30.03 MB / 410.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.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.135e-06/2.135e-06, allocations: 0 / 0.5551 GB, free: 180 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.624e-05, allocations: 2.312 kB / 0.5551 GB, free: 176 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001984/0.00201, allocations: 1.471 MB / 0.5565 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.002774, allocations: 0.6005 MB / 0.5571 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.0028, allocations: 4 kB / 0.5571 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.002828, allocations: 0 / 0.5571 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.00288, allocations: 0 / 0.5571 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.00327, allocations: 103.4 kB / 0.5572 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.003337, allocations: 31.86 kB / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.835e-05/0.003415, allocations: 4 kB / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.003464, allocations: 15.98 kB / 0.5572 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.003505, allocations: 8 kB / 0.5573 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.003517, allocations: 0 / 0.5573 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.003724, allocations: 147.6 kB / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.003736, allocations: 4 kB / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.003755, allocations: 4 kB / 0.5574 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.003943, allocations: 111.6 kB / 0.5575 GB, free: 13.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.003947, allocations: 4 kB / 0.5575 GB, free: 13.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003948, allocations: 0 / 0.5575 GB, free: 13.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.003953, allocations: 4 kB / 0.5575 GB, free: 13.64 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.0003746/0.004328, allocations: 380.4 kB / 0.5579 GB, free: 13.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.004371, allocations: 9.938 kB / 0.5579 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.004686, allocations: 32.84 kB / 0.5579 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.653e-05/0.004772, allocations: 120.5 kB / 0.558 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.004784, allocations: 384 / 0.558 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.004796, allocations: 4.375 kB / 0.558 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.004952, allocations: 74.86 kB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004959, allocations: 4.188 kB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.004971, allocations: 384 / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.004978, allocations: 4.312 kB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.386e-05/0.005032, allocations: 19.92 kB / 0.5581 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.005401, allocations: 267.7 kB / 0.5584 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.677e-05/0.005488, allocations: 51.05 kB / 0.5584 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.005515, allocations: 15.73 kB / 0.5585 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.005533, allocations: 7.938 kB / 0.5585 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.005552, allocations: 33.39 kB / 0.5585 GB, free: 12.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.005553, allocations: 0 / 0.5585 GB, free: 12.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001743/0.005728, allocations: 61.61 kB / 0.5586 GB, free: 12.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.005758, allocations: 51.41 kB / 0.5586 GB, free: 12.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.00583, allocations: 157.9 kB / 0.5588 GB, free: 12.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.005842, allocations: 29.83 kB / 0.5588 GB, free: 12.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.005885, allocations: 134.9 kB / 0.5589 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.005907, allocations: 7.953 kB / 0.5589 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.005937, allocations: 19.38 kB / 0.5589 GB, free: 12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.00605, allocations: 496.1 kB / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.006076, allocations: 4 kB / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.006103, allocations: 15.94 kB / 0.5594 GB, free: 11.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.078e-05/0.006154, allocations: 19.67 kB / 0.5594 GB, free: 11.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006156, allocations: 0 / 0.5594 GB, free: 11.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.6e-05/0.006252, allocations: 57.7 kB / 0.5595 GB, free: 11.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.006269, allocations: 8 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.006275, allocations: 3.938 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.006288, allocations: 0 / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.006377, allocations: 11.98 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.006383, allocations: 0 / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.006413, allocations: 7.984 kB / 0.5595 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.006421, allocations: 4 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.446e-05/0.006495, allocations: 164.5 kB / 0.5597 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.006514, allocations: 4 kB / 0.5597 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.00655, allocations: 7.25 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.006552, allocations: 0 / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006555, allocations: 0 / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.006559, allocations: 3.984 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.00666, allocations: 124.6 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.006662, allocations: 0 / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.006705, allocations: 8 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006708, allocations: 0 / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.006718, allocations: 7.984 kB / 0.5598 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.00672, allocations: 3.938 kB / 0.5598 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006721, allocations: 0 / 0.5598 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.006861, allocations: 195.9 kB / 0.56 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.006872, allocations: 12.12 kB / 0.56 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.006885, allocations: 7.938 kB / 0.5601 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.00693, allocations: 11.94 kB / 0.5601 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.006963, allocations: 8.016 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.006969, allocations: 3.984 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.758e-05/0.007007, allocations: 123.2 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007007, allocations: 0 / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.007172, allocations: 12 kB / 0.5602 GB, free: 10.62 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 (2): * Single equations (assignments): 2 * 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.0001495/0.007321, allocations: 111.2 kB / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.007423, allocations: 27.67 kB / 0.5603 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.007424, allocations: 0 / 0.5603 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.007451, allocations: 23.73 kB / 0.5604 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.007641, allocations: 11.06 kB / 0.5604 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.008112, allocations: 140.9 kB / 0.5605 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.008148, allocations: 55.34 kB / 0.5606 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.77e-05/0.008196, allocations: 16 kB / 0.5606 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.008231, allocations: 8.5 kB / 0.5606 GB, free: 10.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/0.008232, allocations: 4 kB / 0.5606 GB, free: 10.17 MB / 490.7 MB Notification: Performance of Templates: time 0.002867/0.0111, allocations: 1.029 MB / 0.5616 GB, free: 9.16 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6686366759240627]