Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001278/0.001278, allocations: 106.2 kB / 16.52 MB, free: 6.664 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.001279/0.001279, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7074/0.7074, allocations: 115.3 MB / 406.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.84 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3289, allocations: 76.17 MB / 0.5564 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002433/0.3314, allocations: 1.458 MB / 0.5578 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004565/0.3319, allocations: 191.1 kB / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.3319, allocations: 3.031 kB / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.3319, allocations: 8.391 kB / 0.558 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.332, allocations: 6.312 kB / 0.558 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.3322, allocations: 19.66 kB / 0.558 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.325e-05/0.3322, allocations: 25.72 kB / 0.558 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.596e-05/0.3323, allocations: 3.375 kB / 0.558 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.3323, allocations: 10.25 kB / 0.558 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.434e-05/0.3324, allocations: 16.95 kB / 0.5581 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3324, allocations: 1.594 kB / 0.5581 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.3325, allocations: 27.64 kB / 0.5581 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.3325, allocations: 3 kB / 0.5581 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.3325, allocations: 8.656 kB / 0.5581 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.212e-05/0.3326, allocations: 23.8 kB / 0.5581 GB, free: 35.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3326, allocations: 1.219 kB / 0.5581 GB, free: 35.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3326, allocations: 0.6875 kB / 0.5581 GB, free: 35.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.3326, allocations: 1.062 kB / 0.5581 GB, free: 35.03 MB / 446.1 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.0003459/0.333, allocations: 341.2 kB / 0.5585 GB, free: 34.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.333, allocations: 13.41 kB / 0.5585 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3331, allocations: 7.25 kB / 0.5585 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.271e-05/0.3332, allocations: 174.1 kB / 0.5586 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3332, allocations: 6.469 kB / 0.5586 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3333, allocations: 1.438 kB / 0.5586 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3334, allocations: 50.91 kB / 0.5587 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3334, allocations: 2.438 kB / 0.5587 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3335, allocations: 3.938 kB / 0.5587 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3335, allocations: 1.469 kB / 0.5587 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.3336, allocations: 33.42 kB / 0.5587 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.3339, allocations: 251.4 kB / 0.559 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.334, allocations: 50.09 kB / 0.559 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.3341, allocations: 21.03 kB / 0.559 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3342, allocations: 0 / 0.559 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.3342, allocations: 36.06 kB / 0.5591 GB, free: 34.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3342, allocations: 0.8125 kB / 0.5591 GB, free: 34.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003378/0.3345, allocations: 85.59 kB / 0.5592 GB, free: 34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.3346, allocations: 56.25 kB / 0.5592 GB, free: 33.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.3346, allocations: 101.5 kB / 0.5593 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.3346, allocations: 27.14 kB / 0.5593 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.3347, allocations: 81.72 kB / 0.5594 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.3347, allocations: 12.86 kB / 0.5594 GB, free: 33.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.3347, allocations: 12.38 kB / 0.5594 GB, free: 33.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.3348, allocations: 313.3 kB / 0.5597 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.3349, allocations: 18.89 kB / 0.5598 GB, free: 33.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.3349, allocations: 15.39 kB / 0.5598 GB, free: 33.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3351, allocations: 41.16 kB / 0.5598 GB, free: 33.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3351, allocations: 0 / 0.5598 GB, free: 33.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.3353, allocations: 75.27 kB / 0.5599 GB, free: 33.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3353, allocations: 5.531 kB / 0.5599 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3353, allocations: 1.125 kB / 0.5599 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3353, allocations: 0 / 0.5599 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.3354, allocations: 10.83 kB / 0.5599 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3355, allocations: 0.5938 kB / 0.5599 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.3355, allocations: 9.859 kB / 0.5599 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3355, allocations: 1.781 kB / 0.5599 GB, free: 33.32 MB / 446.1 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 4.17e-05/0.3356, allocations: 113.5 kB / 0.56 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.3356, allocations: 1.094 kB / 0.56 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.3358, allocations: 82.77 kB / 0.5601 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3358, allocations: 0.9688 kB / 0.5601 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3358, allocations: 0 / 0.5601 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3359, allocations: 3.219 kB / 0.5601 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.336, allocations: 161.5 kB / 0.5603 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.336, allocations: 1.688 kB / 0.5603 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.336, allocations: 15.14 kB / 0.5603 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3361, allocations: 1.094 kB / 0.5603 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.3361, allocations: 1.188 kB / 0.5603 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3361, allocations: 3.938 kB / 0.5603 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3361, allocations: 2.25 kB / 0.5603 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.3363, allocations: 170 kB / 0.5604 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.3363, allocations: 83.81 kB / 0.5605 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.3363, allocations: 1.812 kB / 0.5605 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.3364, allocations: 6.75 kB / 0.5605 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.3365, allocations: 4.344 kB / 0.5605 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3365, allocations: 1.438 kB / 0.5605 GB, free: 32.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.06e-05/0.3365, allocations: 87.84 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3365, allocations: 0.5625 kB / 0.5606 GB, free: 32.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.3367, allocations: 4.031 kB / 0.5606 GB, free: 32.63 MB / 446.1 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 (3): * Single equations (assignments): 3 * 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 7.032e-05/0.3368, allocations: 102 kB / 0.5607 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.337, allocations: 40.98 kB / 0.5608 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.337, allocations: 0 / 0.5608 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.3371, allocations: 22.09 kB / 0.5608 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.3374, allocations: 9.172 kB / 0.5608 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.3376, allocations: 154.4 kB / 0.5609 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.3378, allocations: 0.6758 MB / 0.5616 GB, free: 31.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.3378, allocations: 13.5 kB / 0.5616 GB, free: 31.67 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3378, allocations: 2.125 kB / 0.5616 GB, free: 31.67 MB / 446.1 MB Notification: Performance of Templates: time 0.001808/0.3396, allocations: 0.5678 MB / 0.5622 GB, free: 31.66 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)