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.001511/0.001511, allocations: 109.5 kB / 16.4 MB, free: 6.355 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.00164/0.00164, allocations: 197.2 kB / 17.33 MB, free: 5.832 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7684/0.7684, allocations: 122.9 MB / 414 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 74.95 kB / 0.5679 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1475, allocations: 77.92 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003282/0.1509, allocations: 1.651 MB / 0.6457 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.1517, allocations: 400 kB / 0.646 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1519, allocations: 0 / 0.646 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.152, allocations: 11.86 kB / 0.646 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.169e-05/0.1521, allocations: 23.78 kB / 0.6461 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.1526, allocations: 119.6 kB / 0.6462 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1528, allocations: 115.6 kB / 0.6463 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.153, allocations: 36.27 kB / 0.6463 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.153, allocations: 39.86 kB / 0.6464 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.1531, allocations: 47.77 kB / 0.6464 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.1532, allocations: 8 kB / 0.6464 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1533, allocations: 71.94 kB / 0.6465 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.1534, allocations: 15.98 kB / 0.6465 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.1534, allocations: 43.73 kB / 0.6465 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1537, allocations: 135.5 kB / 0.6467 GB, free: 6.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1537, allocations: 0 / 0.6467 GB, free: 6.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1537, allocations: 0 / 0.6467 GB, free: 6.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1537, allocations: 0 / 0.6467 GB, free: 6.852 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006133/0.1543, allocations: 418.9 kB / 0.6471 GB, free: 6.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1544, allocations: 12.62 kB / 0.6471 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.1544, allocations: 42.73 kB / 0.6471 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.1547, allocations: 28.83 kB / 0.6472 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.155, allocations: 196.2 kB / 0.6473 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.1551, allocations: 34.25 kB / 0.6474 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.1551, allocations: 12.38 kB / 0.6474 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.1554, allocations: 109.9 kB / 0.6475 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1554, allocations: 0 / 0.6475 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1554, allocations: 0 / 0.6475 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1554, allocations: 4 kB / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.1557, allocations: 83.86 kB / 0.6476 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.1565, allocations: 392.5 kB / 0.6479 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.157, allocations: 130.5 kB / 0.6481 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.1572, allocations: 40.88 kB / 0.6481 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1572, allocations: 4 kB / 0.6481 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1572, allocations: 34.56 kB / 0.6481 GB, free: 5.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1572, allocations: 0 / 0.6481 GB, free: 5.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004362/0.1577, allocations: 133.5 kB / 0.6483 GB, free: 5.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1577, allocations: 55.5 kB / 0.6483 GB, free: 4.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1578, allocations: 139.4 kB / 0.6485 GB, free: 4.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1579, allocations: 33.7 kB / 0.6485 GB, free: 4.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.1579, allocations: 104 kB / 0.6486 GB, free: 4.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.158, allocations: 23.8 kB / 0.6486 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.158, allocations: 25.7 kB / 0.6486 GB, free: 4.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1581, allocations: 314.8 kB / 0.6489 GB, free: 4.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1583, allocations: 31.97 kB / 0.649 GB, free: 4.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1584, allocations: 49.69 kB / 0.649 GB, free: 4.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.1586, allocations: 77.62 kB / 0.6491 GB, free: 4.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1586, allocations: 4 kB / 0.6491 GB, free: 4.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002931/0.1589, allocations: 101.6 kB / 0.6492 GB, free: 4.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.159, allocations: 9.859 kB / 0.6492 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.159, allocations: 8.031 kB / 0.6492 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.159, allocations: 3.938 kB / 0.6492 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1591, allocations: 23.92 kB / 0.6492 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1591, allocations: 0 / 0.6492 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/0.1592, allocations: 11.95 kB / 0.6492 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.1592, allocations: 0 / 0.6492 GB, free: 3.965 MB / 494.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.427e-05/0.1593, allocations: 117.8 kB / 0.6494 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.1594, allocations: 7.953 kB / 0.6494 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.1594, allocations: 20.72 kB / 0.6494 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1594, allocations: 3.938 kB / 0.6494 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1594, allocations: 0 / 0.6494 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1595, allocations: 0 / 0.6494 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.1597, allocations: 201.6 kB / 0.6496 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1597, allocations: 0 / 0.6496 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1598, allocations: 19.92 kB / 0.6496 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1598, allocations: 0 / 0.6496 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1598, allocations: 0 / 0.6496 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1598, allocations: 7.938 kB / 0.6496 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1598, allocations: 3.938 kB / 0.6496 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.1602, allocations: 200 kB / 0.6498 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.1602, allocations: 96.94 kB / 0.6499 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1603, allocations: 0 / 0.6499 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1604, allocations: 15.92 kB / 0.6499 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.1605, allocations: 7.938 kB / 0.6499 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1605, allocations: 7.984 kB / 0.6499 GB, free: 3.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.1606, allocations: 107.3 kB / 0.65 GB, free: 3.062 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1606, allocations: 0 / 0.65 GB, free: 3.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1608, allocations: 16 kB / 0.65 GB, free: 3.047 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 (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.0005423/0.1614, allocations: 0.7495 MB / 0.6508 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1616, allocations: 63.95 kB / 0.6508 GB, free: 2.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1616, allocations: 4 kB / 0.6508 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1618, allocations: 39.91 kB / 0.6509 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1621, allocations: 37.86 kB / 0.6509 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1639, allocations: 1.548 MB / 0.6524 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1641, allocations: 0.7002 MB / 0.6531 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.39e-05/0.1642, allocations: 8.672 kB / 0.6531 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.1643, allocations: 31.42 kB / 0.6531 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1643, allocations: 0 / 0.6531 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.1832, allocations: 2.725 MB / 0.6558 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.79, allocations: 7.203 kB / 0.6558 GB, free: 13.13 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure_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_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)