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.0013/0.0013, allocations: 92.95 kB / 16.02 MB, free: 84 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.002427/0.002427, allocations: 182.7 kB / 16.92 MB, free: 6.934 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6988/0.6988, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003454, allocations: 8 kB / 495.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1523, allocations: 77.54 MB / 0.56 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00148/0.1538, allocations: 1.13 MB / 0.5611 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004089/0.1542, allocations: 191.5 kB / 0.5613 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.1542, allocations: 0 / 0.5613 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1543, allocations: 3.984 kB / 0.5613 GB, free: 7.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.1543, allocations: 7.922 kB / 0.5613 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.1545, allocations: 15.98 kB / 0.5614 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.1545, allocations: 27.92 kB / 0.5614 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.709e-05/0.1546, allocations: 8 kB / 0.5614 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.173e-05/0.1546, allocations: 7.984 kB / 0.5614 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.1547, allocations: 7.922 kB / 0.5614 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1547, allocations: 7.938 kB / 0.5614 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.1548, allocations: 19.98 kB / 0.5614 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.1548, allocations: 4 kB / 0.5614 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.1548, allocations: 37.62 kB / 0.5615 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.1549, allocations: 40.05 kB / 0.5615 GB, free: 7.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.155, allocations: 4 kB / 0.5615 GB, free: 7.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.155, allocations: 4 kB / 0.5615 GB, free: 7.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.155, allocations: 0 / 0.5615 GB, free: 7.457 MB / 430.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.000382/0.1554, allocations: 339.5 kB / 0.5618 GB, free: 7.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1554, allocations: 8.031 kB / 0.5618 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.1554, allocations: 34.75 kB / 0.5619 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.035e-05/0.1555, allocations: 0.9375 kB / 0.5619 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1556, allocations: 176.3 kB / 0.562 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.1556, allocations: 384 / 0.562 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1557, allocations: 4.375 kB / 0.5621 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1558, allocations: 54.23 kB / 0.5621 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1558, allocations: 3.938 kB / 0.5621 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1559, allocations: 7.984 kB / 0.5621 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1559, allocations: 4 kB / 0.5621 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1561, allocations: 51.89 kB / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.1564, allocations: 241 kB / 0.5624 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1565, allocations: 46.5 kB / 0.5624 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.1566, allocations: 28.89 kB / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1566, allocations: 0 / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1566, allocations: 34.5 kB / 0.5625 GB, free: 6.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1567, allocations: 4 kB / 0.5625 GB, free: 6.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003511/0.157, allocations: 101.5 kB / 0.5626 GB, free: 6.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1571, allocations: 55.53 kB / 0.5627 GB, free: 6.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.1571, allocations: 97.86 kB / 0.5628 GB, free: 5.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1572, allocations: 25.7 kB / 0.5628 GB, free: 5.957 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1572, allocations: 84.12 kB / 0.5629 GB, free: 5.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.1572, allocations: 11.84 kB / 0.5629 GB, free: 5.859 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.1573, allocations: 13.72 kB / 0.5629 GB, free: 5.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1574, allocations: 310.8 kB / 0.5632 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.1575, allocations: 23.98 kB / 0.5632 GB, free: 5.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.1576, allocations: 23.97 kB / 0.5632 GB, free: 5.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1578, allocations: 52.83 kB / 0.5633 GB, free: 5.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1578, allocations: 3.938 kB / 0.5633 GB, free: 5.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002211/0.158, allocations: 77.66 kB / 0.5634 GB, free: 5.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.158, allocations: 4 kB / 0.5634 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.158, allocations: 4.031 kB / 0.5634 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.158, allocations: 0 / 0.5634 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.1581, allocations: 11.98 kB / 0.5634 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.1582, allocations: 0 / 0.5634 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.1582, allocations: 8 kB / 0.5634 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1582, allocations: 0 / 0.5634 GB, free: 5.312 MB / 430.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.525e-05/0.1583, allocations: 121.7 kB / 0.5635 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1583, allocations: 8 kB / 0.5635 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.1586, allocations: 84.72 kB / 0.5636 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1586, allocations: 0 / 0.5636 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1586, allocations: 0 / 0.5636 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.1587, allocations: 8 kB / 0.5636 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1588, allocations: 161.6 kB / 0.5637 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1588, allocations: 0 / 0.5637 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.1589, allocations: 11.98 kB / 0.5638 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1589, allocations: 4 kB / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1589, allocations: 0 / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1589, allocations: 0 / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1589, allocations: 0 / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1592, allocations: 187.3 kB / 0.5639 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.1593, allocations: 77.11 kB / 0.564 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.1593, allocations: 0 / 0.564 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.1594, allocations: 19.98 kB / 0.564 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.1594, allocations: 0 / 0.564 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1594, allocations: 288 / 0.564 GB, free: 4.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.897e-05/0.1595, allocations: 87.25 kB / 0.5641 GB, free: 4.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.685e-06/0.1595, allocations: 0 / 0.5641 GB, free: 4.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.1597, allocations: 7.938 kB / 0.5641 GB, free: 4.453 MB / 430.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.0005653/0.1603, allocations: 0.7163 MB / 0.5648 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.1605, allocations: 47.95 kB / 0.5649 GB, free: 3.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1606, allocations: 4 kB / 0.5649 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.326e-05/0.1607, allocations: 23.98 kB / 0.5649 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.1609, allocations: 3.984 kB / 0.5649 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.1613, allocations: 170.2 kB / 0.5651 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1616, allocations: 0.677 MB / 0.5657 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.782e-05/0.1616, allocations: 0 / 0.5657 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1616, allocations: 15.44 kB / 0.5657 GB, free: 2.699 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1616, allocations: 0 / 0.5657 GB, free: 2.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.1718, allocations: 1.099 MB / 0.5668 GB, free: 1.75 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.1721, allocations: 224.2 kB / 0.567 GB, free: 1.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.94, allocations: 0 / 0.567 GB, free: 1.492 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)