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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 102.1 kB / 16.27 MB, free: 5.93 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.00133/0.00133, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7527/0.7527, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3217, allocations: 77.91 MB / 0.5673 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002527/0.3242, allocations: 1.402 MB / 0.5686 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004498/0.3247, allocations: 197.3 kB / 0.5688 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.3248, allocations: 3.844 kB / 0.5688 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.3248, allocations: 8.484 kB / 0.5688 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.3248, allocations: 5.656 kB / 0.5689 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3251, allocations: 22.89 kB / 0.5689 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.021e-05/0.3252, allocations: 25.66 kB / 0.5689 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.3252, allocations: 8.75 kB / 0.5689 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.3253, allocations: 8.812 kB / 0.5689 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.944e-05/0.3253, allocations: 16.44 kB / 0.5689 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3254, allocations: 2.125 kB / 0.5689 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.3255, allocations: 24.36 kB / 0.569 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.3255, allocations: 1.859 kB / 0.569 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.3255, allocations: 16.89 kB / 0.569 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.3256, allocations: 32.5 kB / 0.569 GB, free: 31.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3256, allocations: 0.5625 kB / 0.569 GB, free: 31.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3256, allocations: 0 / 0.569 GB, free: 31.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3257, allocations: 1.688 kB / 0.569 GB, free: 31.94 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.0003791/0.326, allocations: 343 kB / 0.5693 GB, free: 31.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3261, allocations: 12.03 kB / 0.5693 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.3261, allocations: 35.27 kB / 0.5694 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.3263, allocations: 5.578 kB / 0.5694 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.798e-05/0.3264, allocations: 167.7 kB / 0.5695 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3264, allocations: 384 / 0.5695 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3264, allocations: 7.234 kB / 0.5696 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3266, allocations: 49.61 kB / 0.5696 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3266, allocations: 5.062 kB / 0.5696 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3266, allocations: 3.5 kB / 0.5696 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3266, allocations: 1.219 kB / 0.5696 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3268, allocations: 32.03 kB / 0.5696 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.3271, allocations: 248.3 kB / 0.5699 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3272, allocations: 49.75 kB / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.3273, allocations: 23.73 kB / 0.5699 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.3273, allocations: 1.594 kB / 0.5699 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.3274, allocations: 33.12 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3274, allocations: 0 / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.3277, allocations: 82.47 kB / 0.5701 GB, free: 30.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.3278, allocations: 57.81 kB / 0.5701 GB, free: 30.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.3278, allocations: 96.34 kB / 0.5702 GB, free: 30.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.515e-06/0.3278, allocations: 26.42 kB / 0.5702 GB, free: 30.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.3279, allocations: 87.8 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.3279, allocations: 5.984 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.3279, allocations: 11.92 kB / 0.5703 GB, free: 30.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.328, allocations: 318.4 kB / 0.5706 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.3281, allocations: 14.23 kB / 0.5706 GB, free: 30.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.3281, allocations: 19.47 kB / 0.5707 GB, free: 30.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3283, allocations: 42.58 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3283, allocations: 5.062 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.3285, allocations: 72.91 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3285, allocations: 5.375 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3285, allocations: 2.281 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.3285, allocations: 0 / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.3286, allocations: 10.2 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3286, allocations: 1.156 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.3287, allocations: 6.219 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3287, allocations: 1.125 kB / 0.5708 GB, free: 30.2 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.932e-05/0.3288, allocations: 117.4 kB / 0.5709 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.3288, allocations: 2.125 kB / 0.5709 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.329, allocations: 83.84 kB / 0.571 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.329, allocations: 2.328 kB / 0.571 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.329, allocations: 0 / 0.571 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.329, allocations: 5.891 kB / 0.571 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.3292, allocations: 164.7 kB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3292, allocations: 1.094 kB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.655e-05/0.3292, allocations: 11.02 kB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3293, allocations: 2.922 kB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3293, allocations: 0.6875 kB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3293, allocations: 0 / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3293, allocations: 2.031 kB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.3295, allocations: 171.4 kB / 0.5713 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.3295, allocations: 79.02 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.3295, allocations: 0.7812 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.3296, allocations: 8.141 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3297, allocations: 8.281 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3297, allocations: 0 / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.232e-05/0.3297, allocations: 84.42 kB / 0.5715 GB, free: 29.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3297, allocations: 0.875 kB / 0.5715 GB, free: 29.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.3299, allocations: 8.781 kB / 0.5715 GB, free: 29.51 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 0.0003653/0.3303, allocations: 0.7004 MB / 0.5722 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.3305, allocations: 43.05 kB / 0.5723 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3305, allocations: 1.562 kB / 0.5723 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/0.3306, allocations: 25.47 kB / 0.5723 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3309, allocations: 11.25 kB / 0.5723 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.3313, allocations: 143.2 kB / 0.5724 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.87e-05/0.3314, allocations: 0.6764 MB / 0.5731 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.3314, allocations: 1.656 kB / 0.5731 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.3315, allocations: 14.45 kB / 0.5731 GB, free: 27.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3315, allocations: 1.719 kB / 0.5731 GB, free: 27.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.3486, allocations: 1.333 MB / 0.5744 GB, free: 27.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.444, allocations: 8.359 kB / 0.5744 GB, free: 27.65 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)