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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_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.001135/0.001135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 290.4 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9234/0.9234, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 98.31 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.155, allocations: 86.97 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002513/0.1575, allocations: 1.41 MB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004573/0.158, allocations: 198.3 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.158, allocations: 0 / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.1581, allocations: 0 / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.1582, allocations: 7.938 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1584, allocations: 31.89 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.1585, allocations: 19.94 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.1586, allocations: 7.984 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.1586, allocations: 7.938 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.1586, allocations: 15.92 kB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1587, allocations: 4 kB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.248e-05/0.1588, allocations: 23.98 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.1588, allocations: 0 / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.1588, allocations: 15.92 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1589, allocations: 39.89 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1589, allocations: 4 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1589, allocations: 3.938 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.159, allocations: 0 / 0.682 GB, free: 14.81 MB / 494.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.0004092/0.1594, allocations: 339.5 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1594, allocations: 8.031 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.1595, allocations: 30.75 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1596, allocations: 12.78 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.1597, allocations: 160.4 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1597, allocations: 8.375 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.1597, allocations: 4.359 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1599, allocations: 50.23 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1599, allocations: 3.938 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1599, allocations: 0 / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1599, allocations: 0 / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.1601, allocations: 35.91 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.1604, allocations: 249 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1605, allocations: 38.5 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/0.1606, allocations: 24.91 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.1606, allocations: 0 / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1606, allocations: 38.56 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1607, allocations: 0 / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003305/0.161, allocations: 89.48 kB / 0.6831 GB, free: 13.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.161, allocations: 55.34 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.1611, allocations: 101.8 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1611, allocations: 25.7 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.1612, allocations: 84.27 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1612, allocations: 7.906 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1612, allocations: 17.7 kB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.1613, allocations: 314.8 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.1614, allocations: 11.98 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.1615, allocations: 15.98 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1616, allocations: 48.81 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1616, allocations: 3.938 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.1618, allocations: 61.67 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1619, allocations: 7.984 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1619, allocations: 0 / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1619, allocations: 192 / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.162, allocations: 8.031 kB / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.162, allocations: 7.984 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.1621, allocations: 7.984 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1621, allocations: 0 / 0.6838 GB, free: 12.74 MB / 494.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 7.186e-05/0.1622, allocations: 115.1 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.1622, allocations: 11.92 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.1624, allocations: 84.7 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1624, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1625, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1625, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.1626, allocations: 165.6 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1626, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.1627, allocations: 8 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1627, allocations: 0 / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1627, allocations: 7.984 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1627, allocations: 0 / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1627, allocations: 4 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.163, allocations: 171.3 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.163, allocations: 81.05 kB / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1631, allocations: 4 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.1631, allocations: 11.98 kB / 0.6844 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1632, allocations: 0 / 0.6844 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.1632, allocations: 4 kB / 0.6844 GB, free: 11.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.398e-05/0.1632, allocations: 83.27 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1632, allocations: 0 / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.1635, allocations: 4 kB / 0.6845 GB, free: 11.9 MB / 494.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.000467/0.1639, allocations: 0.7085 MB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1641, allocations: 43.89 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1642, allocations: 0 / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.697e-05/0.1642, allocations: 19.98 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.1645, allocations: 4 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.165, allocations: 149.9 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1652, allocations: 0.6807 MB / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.755e-05/0.1652, allocations: 3.938 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.1653, allocations: 7.438 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1653, allocations: 0 / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.1812, allocations: 1.361 MB / 0.6874 GB, free: 8.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.051, allocations: 15.53 kB / 0.6875 GB, free: 8.957 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)