Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.0009377/0.0009432, allocations: 93.81 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.001733/0.001733, allocations: 177.9 kB / 16.91 MB, free: 6.684 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7236/0.7236, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003764, allocations: 12.94 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1604, allocations: 77.52 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001945/0.1624, allocations: 1.368 MB / 0.5614 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.1633, allocations: 410.8 kB / 0.5618 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.273e-05/0.1634, allocations: 0 / 0.5618 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.438e-05/0.1635, allocations: 3.938 kB / 0.5618 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.1636, allocations: 23.84 kB / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.1641, allocations: 114.8 kB / 0.5619 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1642, allocations: 103.6 kB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1644, allocations: 36.27 kB / 0.562 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.1645, allocations: 31.86 kB / 0.5621 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.1645, allocations: 35.83 kB / 0.5621 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1646, allocations: 4 kB / 0.5621 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1647, allocations: 55.95 kB / 0.5621 GB, free: 6.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.1647, allocations: 15.92 kB / 0.5622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.1648, allocations: 65.44 kB / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.165, allocations: 119.6 kB / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.165, allocations: 0 / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.165, allocations: 4 kB / 0.5623 GB, free: 6.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.165, allocations: 0 / 0.5623 GB, free: 6.562 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005328/0.1656, allocations: 407.2 kB / 0.5627 GB, free: 6.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1656, allocations: 12.03 kB / 0.5627 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.1657, allocations: 34.75 kB / 0.5628 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.1659, allocations: 36.81 kB / 0.5628 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1661, allocations: 188.2 kB / 0.563 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.1662, allocations: 46.14 kB / 0.563 GB, free: 5.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1662, allocations: 4.375 kB / 0.563 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.1665, allocations: 121.9 kB / 0.5632 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1665, allocations: 0 / 0.5632 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1666, allocations: 4 kB / 0.5632 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1666, allocations: 0 / 0.5632 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.1668, allocations: 91.92 kB / 0.5632 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.1675, allocations: 392.4 kB / 0.5636 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.1681, allocations: 134.6 kB / 0.5638 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1682, allocations: 44.78 kB / 0.5638 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1682, allocations: 7.984 kB / 0.5638 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1683, allocations: 42.55 kB / 0.5638 GB, free: 4.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1683, allocations: 0 / 0.5638 GB, free: 4.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004654/0.1688, allocations: 153.8 kB / 0.564 GB, free: 4.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1688, allocations: 55.34 kB / 0.564 GB, free: 4.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1689, allocations: 135.5 kB / 0.5642 GB, free: 4.484 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.169, allocations: 29.7 kB / 0.5642 GB, free: 4.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.169, allocations: 104 kB / 0.5643 GB, free: 4.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.169, allocations: 19.64 kB / 0.5643 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1691, allocations: 21.66 kB / 0.5643 GB, free: 4.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1692, allocations: 314.8 kB / 0.5646 GB, free: 3.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1693, allocations: 47.91 kB / 0.5647 GB, free: 3.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1694, allocations: 45.69 kB / 0.5647 GB, free: 3.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.1697, allocations: 89.69 kB / 0.5648 GB, free: 3.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1697, allocations: 0 / 0.5648 GB, free: 3.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002846/0.17, allocations: 129.5 kB / 0.5649 GB, free: 3.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.17, allocations: 4 kB / 0.5649 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.17, allocations: 0 / 0.5649 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.17, allocations: 3.938 kB / 0.5649 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1701, allocations: 19.98 kB / 0.565 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1702, allocations: 4 kB / 0.565 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.1702, allocations: 19.84 kB / 0.565 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1703, allocations: 7.984 kB / 0.565 GB, free: 3.598 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.248e-05/0.1704, allocations: 121.7 kB / 0.5651 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.1704, allocations: 7.906 kB / 0.5651 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.1704, allocations: 16.72 kB / 0.5651 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1705, allocations: 3.938 kB / 0.5651 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1705, allocations: 0 / 0.5651 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1705, allocations: 0 / 0.5651 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1707, allocations: 197.6 kB / 0.5653 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1707, allocations: 0 / 0.5653 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1708, allocations: 19.98 kB / 0.5653 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1708, allocations: 4 kB / 0.5653 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1708, allocations: 0 / 0.5653 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1708, allocations: 3.938 kB / 0.5654 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1708, allocations: 0 / 0.5654 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.1712, allocations: 215.4 kB / 0.5656 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.1712, allocations: 89 kB / 0.5656 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1712, allocations: 4 kB / 0.5656 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1714, allocations: 19.92 kB / 0.5657 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1715, allocations: 4 kB / 0.5657 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1715, allocations: 7.984 kB / 0.5657 GB, free: 2.805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.1715, allocations: 106.2 kB / 0.5658 GB, free: 2.703 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1716, allocations: 0 / 0.5658 GB, free: 2.703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1718, allocations: 20 kB / 0.5658 GB, free: 2.684 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 (7): * Single equations (assignments): 7 * 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.0005738/0.1724, allocations: 0.7436 MB / 0.5665 GB, free: 1.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1727, allocations: 88.59 kB / 0.5666 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1727, allocations: 0 / 0.5666 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1728, allocations: 47.91 kB / 0.5667 GB, free: 1.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1732, allocations: 33.23 kB / 0.5667 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.175, allocations: 1.608 MB / 0.5683 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1753, allocations: 0.6965 MB / 0.5689 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.113e-05/0.1754, allocations: 12.66 kB / 0.5689 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.1754, allocations: 25.67 kB / 0.569 GB, free: 15.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1754, allocations: 0 / 0.569 GB, free: 15.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.1874, allocations: 2.391 MB / 0.5713 GB, free: 13.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.1876, allocations: 230.6 kB / 0.5715 GB, free: 12.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.013, allocations: 0 / 0.5715 GB, free: 12.81 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)