Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.0008155/0.0008155, allocations: 98.73 kB / 16.02 MB, free: 80 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.0009629/0.0009629, allocations: 180.2 kB / 16.92 MB, free: 6.898 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.452/1.452, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6938/0.6938, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005705/0.0005705, allocations: 9.062 kB / 496 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.165, allocations: 77.52 MB / 0.56 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001324/0.1663, allocations: 1.004 MB / 0.561 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000922/0.1673, allocations: 0.5773 MB / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.717e-05/0.1673, allocations: 0 / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.1673, allocations: 0 / 0.5616 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.1674, allocations: 3.938 kB / 0.5616 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1677, allocations: 79.64 kB / 0.5617 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.574e-05/0.1678, allocations: 19.88 kB / 0.5617 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.1678, allocations: 15.97 kB / 0.5617 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.117e-05/0.1679, allocations: 4 kB / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.1679, allocations: 7.938 kB / 0.5617 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1679, allocations: 0 / 0.5617 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.1682, allocations: 147.7 kB / 0.5619 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.1683, allocations: 3.984 kB / 0.5619 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.1683, allocations: 33.64 kB / 0.5619 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1685, allocations: 92.11 kB / 0.562 GB, free: 6.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1685, allocations: 0 / 0.562 GB, free: 6.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1685, allocations: 0 / 0.562 GB, free: 6.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.1685, allocations: 4 kB / 0.562 GB, free: 6.895 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003434/0.1689, allocations: 335.5 kB / 0.5623 GB, free: 6.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1689, allocations: 12.03 kB / 0.5623 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.1689, allocations: 34.75 kB / 0.5623 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.1693, allocations: 32.75 kB / 0.5624 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1695, allocations: 164.4 kB / 0.5625 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1695, allocations: 8.312 kB / 0.5625 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1695, allocations: 4.375 kB / 0.5625 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1697, allocations: 42.23 kB / 0.5626 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1697, allocations: 7.938 kB / 0.5626 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1697, allocations: 0 / 0.5626 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1697, allocations: 0 / 0.5626 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.1698, allocations: 27.97 kB / 0.5626 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.17, allocations: 157.7 kB / 0.5628 GB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1702, allocations: 42.48 kB / 0.5628 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.1702, allocations: 20.91 kB / 0.5628 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1703, allocations: 3.938 kB / 0.5628 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1703, allocations: 34.56 kB / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1703, allocations: 0 / 0.5629 GB, free: 5.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002952/0.1706, allocations: 73.59 kB / 0.5629 GB, free: 5.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.1707, allocations: 51.41 kB / 0.563 GB, free: 5.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/0.1707, allocations: 101.8 kB / 0.5631 GB, free: 5.562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1708, allocations: 29.83 kB / 0.5631 GB, free: 5.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.1708, allocations: 84.14 kB / 0.5632 GB, free: 5.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1708, allocations: 7.891 kB / 0.5632 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.1708, allocations: 9.719 kB / 0.5632 GB, free: 5.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.171, allocations: 314.8 kB / 0.5635 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-05/0.171, allocations: 15.98 kB / 0.5635 GB, free: 5.086 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.1711, allocations: 11.98 kB / 0.5635 GB, free: 5.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.1712, allocations: 32.91 kB / 0.5636 GB, free: 5.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1712, allocations: 0 / 0.5636 GB, free: 5.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000168/0.1714, allocations: 53.67 kB / 0.5636 GB, free: 4.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1714, allocations: 11.94 kB / 0.5636 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1714, allocations: 0 / 0.5636 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1715, allocations: 4.031 kB / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.1716, allocations: 7.984 kB / 0.5636 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1716, allocations: 3.938 kB / 0.5636 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.1716, allocations: 7.938 kB / 0.5637 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1717, allocations: 7.984 kB / 0.5637 GB, free: 4.938 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.62e-05/0.1717, allocations: 109.8 kB / 0.5638 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.1718, allocations: 7.938 kB / 0.5638 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.1718, allocations: 7.125 kB / 0.5638 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1718, allocations: 0 / 0.5638 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1718, allocations: 0 / 0.5638 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1718, allocations: 0 / 0.5638 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1719, allocations: 157.6 kB / 0.5639 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1719, allocations: 0 / 0.5639 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.172, allocations: 11.98 kB / 0.5639 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.172, allocations: 3.938 kB / 0.5639 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.172, allocations: 0 / 0.5639 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1721, allocations: 0 / 0.5639 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1721, allocations: 7.984 kB / 0.564 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.1723, allocations: 81.11 kB / 0.564 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.1723, allocations: 85.03 kB / 0.5641 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1723, allocations: 7.938 kB / 0.5641 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.1724, allocations: 8.031 kB / 0.5641 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.1724, allocations: 0 / 0.5641 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1724, allocations: 0 / 0.5641 GB, free: 4.367 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.1725, allocations: 87.2 kB / 0.5642 GB, free: 4.281 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1725, allocations: 0 / 0.5642 GB, free: 4.281 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.1727, allocations: 16 kB / 0.5642 GB, free: 4.266 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 (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 Backend phase and start with SimCode phase: time 0.000488/0.1732, allocations: 0.628 MB / 0.5648 GB, free: 3.605 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1734, allocations: 35.91 kB / 0.5649 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1734, allocations: 0 / 0.5649 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.1735, allocations: 20.08 kB / 0.5649 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.1737, allocations: 9.719 kB / 0.5649 GB, free: 3.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.1741, allocations: 158.2 kB / 0.5651 GB, free: 3.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1744, allocations: 0.6731 MB / 0.5657 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.751e-05/0.1745, allocations: 16.05 kB / 0.5657 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.1745, allocations: 15.42 kB / 0.5657 GB, free: 2.617 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1745, allocations: 0 / 0.5657 GB, free: 2.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.1853, allocations: 1.363 MB / 0.5671 GB, free: 1.449 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.1855, allocations: 223.8 kB / 0.5673 GB, free: 1.191 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/1.938, allocations: 0 / 0.5673 GB, free: 1.191 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)