Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.000979, allocations: 118.3 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 287.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8909/0.8909, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 99.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3629, allocations: 86.97 MB / 0.767 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002171/0.3651, allocations: 1.406 MB / 0.7684 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003792/0.3655, allocations: 207.4 kB / 0.7686 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.3656, allocations: 0 / 0.7686 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.3656, allocations: 0 / 0.7686 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.525e-05/0.3656, allocations: 7.938 kB / 0.7686 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.3658, allocations: 27.89 kB / 0.7686 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.3659, allocations: 23.88 kB / 0.7687 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.366, allocations: 7.984 kB / 0.7687 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.366, allocations: 8 kB / 0.7687 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.366, allocations: 15.86 kB / 0.7687 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.3661, allocations: 7.984 kB / 0.7687 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.627e-05/0.3661, allocations: 19.98 kB / 0.7687 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.3662, allocations: 8 kB / 0.7687 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.3662, allocations: 11.92 kB / 0.7687 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.3663, allocations: 43.55 kB / 0.7688 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3663, allocations: 4 kB / 0.7688 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3663, allocations: 0 / 0.7688 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3663, allocations: 0 / 0.7688 GB, free: 2.004 MB / 0.5294 GB 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.0003712/0.3667, allocations: 342 kB / 0.7691 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.3667, allocations: 8.031 kB / 0.7691 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.3668, allocations: 4.938 kB / 0.7691 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.443e-05/0.3669, allocations: 164.4 kB / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.367, allocations: 384 / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.367, allocations: 4.375 kB / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3671, allocations: 50.23 kB / 0.7693 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3671, allocations: 192 / 0.7693 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3672, allocations: 7.875 kB / 0.7693 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3672, allocations: 4 kB / 0.7693 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.3673, allocations: 27.97 kB / 0.7694 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.3676, allocations: 260.9 kB / 0.7696 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.3678, allocations: 38.5 kB / 0.7697 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.3678, allocations: 20.91 kB / 0.7697 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.3679, allocations: 0 / 0.7697 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.3679, allocations: 38.48 kB / 0.7697 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.3679, allocations: 4 kB / 0.7697 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003184/0.3682, allocations: 77.66 kB / 0.7698 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.3683, allocations: 59.33 kB / 0.7698 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/0.3683, allocations: 101.9 kB / 0.7699 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3683, allocations: 25.7 kB / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.3684, allocations: 80.14 kB / 0.77 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.3684, allocations: 7.969 kB / 0.7701 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3684, allocations: 25.7 kB / 0.7701 GB, free: 484 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.3685, allocations: 310.8 kB / 0.7704 GB, free: 164 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.3686, allocations: 15.98 kB / 0.7704 GB, free: 148 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.3687, allocations: 15.98 kB / 0.7704 GB, free: 132 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3688, allocations: 44.81 kB / 0.7704 GB, free: 84 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3688, allocations: 0 / 0.7704 GB, free: 84 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001796/0.369, allocations: 69.59 kB / 0.7705 GB, free: 8 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.369, allocations: 6.656 kB / 0.7705 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3691, allocations: 4 kB / 0.7705 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.3691, allocations: 112 / 0.7705 GB, free: 16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.3692, allocations: 11.94 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3692, allocations: 3.984 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.3692, allocations: 12.03 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3693, allocations: 0 / 0.7706 GB, free: 15.97 MB / 0.545 GB 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 6.256e-05/0.3693, allocations: 112.2 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3694, allocations: 3.938 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3696, allocations: 80.7 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3696, allocations: 0 / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3696, allocations: 4 kB / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.3696, allocations: 85.02 kB / 0.7708 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3697, allocations: 3.984 kB / 0.7708 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.3697, allocations: 4 kB / 0.7708 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.3698, allocations: 4 kB / 0.7708 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002348/0.37, allocations: 156.8 kB / 0.771 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002388/0.3703, allocations: 242.8 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.404e-05/0.3704, allocations: 21.77 kB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.3704, allocations: 83.61 kB / 0.7713 GB, free: 15.13 MB / 0.545 GB Notification: Performance of Backend: time 2.31e-07/0.3704, allocations: 0 / 0.7713 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.3708, allocations: 110.3 kB / 0.7714 GB, free: 15.02 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003762/0.3712, allocations: 0.566 MB / 0.772 GB, free: 14.4 MB / 0.545 GB Notification: Performance of Templates: time 0.002424/0.3736, allocations: 0.7347 MB / 0.7727 GB, free: 13.68 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)