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.001189/0.001189, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001143/0.001143, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.225/1.225, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 279.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8836/0.8836, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3815, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002268/0.3838, allocations: 1.403 MB / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004043/0.3842, allocations: 211.4 kB / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.3843, allocations: 0 / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.3843, allocations: 3.938 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.237e-05/0.3844, allocations: 0 / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.3846, allocations: 27.89 kB / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.3846, allocations: 27.86 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.3847, allocations: 4 kB / 0.7687 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.3847, allocations: 12 kB / 0.7687 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.3848, allocations: 11.92 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.3848, allocations: 0 / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.3849, allocations: 23.98 kB / 0.7687 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3849, allocations: 11.98 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.3849, allocations: 11.92 kB / 0.7687 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.385, allocations: 39.56 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3851, allocations: 0 / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3851, allocations: 0 / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.3851, allocations: 0 / 0.7688 GB, free: 2.133 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.0003778/0.3855, allocations: 346 kB / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3855, allocations: 8.031 kB / 0.7691 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3856, allocations: 4.875 kB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.3857, allocations: 168.4 kB / 0.7693 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3857, allocations: 4.375 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.3857, allocations: 384 / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3859, allocations: 54.17 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.3859, allocations: 192 / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.3859, allocations: 7.938 kB / 0.7693 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.386, allocations: 0 / 0.7693 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3861, allocations: 35.95 kB / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.3864, allocations: 248.9 kB / 0.7696 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.3865, allocations: 38.5 kB / 0.7697 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.3866, allocations: 28.84 kB / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3867, allocations: 3.984 kB / 0.7697 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3867, allocations: 30.56 kB / 0.7697 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 3.536e-06/0.3867, allocations: 0 / 0.7697 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003311/0.387, allocations: 89.67 kB / 0.7698 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.3871, allocations: 51.41 kB / 0.7698 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.3871, allocations: 97.86 kB / 0.7699 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3872, allocations: 29.7 kB / 0.77 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.3872, allocations: 80.14 kB / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.3872, allocations: 15.83 kB / 0.7701 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.3873, allocations: 13.72 kB / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.3873, allocations: 310.8 kB / 0.7704 GB, free: 292 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.3874, allocations: 23.95 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-05/0.3875, allocations: 15.98 kB / 0.7704 GB, free: 252 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3877, allocations: 36.81 kB / 0.7704 GB, free: 212 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3877, allocations: 0 / 0.7704 GB, free: 212 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.3879, allocations: 77.66 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3879, allocations: 4 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3879, allocations: 0 / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3879, allocations: 4 kB / 0.7705 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.388, allocations: 7.984 kB / 0.7705 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.388, allocations: 4 kB / 0.7705 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.3881, allocations: 4 kB / 0.7705 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3881, allocations: 0 / 0.7705 GB, free: 104 kB / 0.5294 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 7.506e-05/0.3882, allocations: 120.2 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.3882, allocations: 7.922 kB / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.3885, allocations: 72.78 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3885, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3885, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.3885, allocations: 81.02 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.3885, allocations: 7.984 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.3886, allocations: 15.94 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.3887, allocations: 3.984 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002506/0.3889, allocations: 156.8 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000249/0.3892, allocations: 242.8 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.897e-05/0.3893, allocations: 22.09 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.168e-05/0.3893, allocations: 87.27 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Backend: time 1.91e-07/0.3893, allocations: 0 / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.3897, allocations: 117.7 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003818/0.3901, allocations: 0.5583 MB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Templates: time 0.002606/0.3927, allocations: 0.7243 MB / 0.7727 GB, free: 13.81 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)