Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001252/0.001252, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001861/0.001861, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8074/0.8074, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 60.28 kB / 0.5735 GB, free: 26.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1562, allocations: 78.87 MB / 0.6505 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002873/0.1591, allocations: 1.482 MB / 0.652 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.1595, allocations: 135.6 kB / 0.6521 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.1596, allocations: 0 / 0.6521 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.1596, allocations: 7.875 kB / 0.6521 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.1597, allocations: 15.88 kB / 0.6521 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.1601, allocations: 70.38 kB / 0.6522 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1602, allocations: 55.84 kB / 0.6523 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1603, allocations: 19.98 kB / 0.6523 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.1604, allocations: 23.92 kB / 0.6523 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.1604, allocations: 23.91 kB / 0.6523 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1605, allocations: 11.98 kB / 0.6523 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.1605, allocations: 4 kB / 0.6523 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.1605, allocations: 19.92 kB / 0.6524 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.1606, allocations: 19.88 kB / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1607, allocations: 60 kB / 0.6524 GB, free: 1.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1607, allocations: 0 / 0.6524 GB, free: 1.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1607, allocations: 4 kB / 0.6524 GB, free: 1.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1607, allocations: 0 / 0.6524 GB, free: 1.641 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005614/0.1613, allocations: 375.2 kB / 0.6528 GB, free: 1.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1613, allocations: 8.031 kB / 0.6528 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.1614, allocations: 38.75 kB / 0.6528 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.1614, allocations: 8.891 kB / 0.6528 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.1616, allocations: 164.4 kB / 0.653 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.1617, allocations: 34.25 kB / 0.653 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.1617, allocations: 4.375 kB / 0.653 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1619, allocations: 77.91 kB / 0.6531 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1619, allocations: 0 / 0.6531 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.162, allocations: 0 / 0.6531 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.162, allocations: 4 kB / 0.6531 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.1622, allocations: 47.95 kB / 0.6532 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.1628, allocations: 320.7 kB / 0.6535 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.163, allocations: 50.5 kB / 0.6535 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1631, allocations: 36.92 kB / 0.6535 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1632, allocations: 0 / 0.6535 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1632, allocations: 38.56 kB / 0.6536 GB, free: 284 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1632, allocations: 0 / 0.6536 GB, free: 284 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003783/0.1636, allocations: 101.6 kB / 0.6537 GB, free: 176 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1636, allocations: 59.39 kB / 0.6537 GB, free: 104 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1638, allocations: 106 kB / 0.6538 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1638, allocations: 33.62 kB / 0.6539 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.1639, allocations: 88.09 kB / 0.654 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1639, allocations: 11.91 kB / 0.654 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1639, allocations: 17.72 kB / 0.654 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1641, allocations: 322.8 kB / 0.6543 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.1642, allocations: 23.98 kB / 0.6543 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1643, allocations: 37.62 kB / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1645, allocations: 53.69 kB / 0.6544 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1645, allocations: 0 / 0.6544 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002342/0.1647, allocations: 93.58 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1648, allocations: 4 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1648, allocations: 0 / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1648, allocations: 4 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.1649, allocations: 8 kB / 0.6545 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1649, allocations: 7.922 kB / 0.6545 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.165, allocations: 11.89 kB / 0.6545 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.165, allocations: 4 kB / 0.6545 GB, free: 15.23 MB / 0.4981 GB 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 (5): * Single equations (assignments): 5 * 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.768e-05/0.1651, allocations: 121.8 kB / 0.6546 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1651, allocations: 0 / 0.6546 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.1652, allocations: 11.89 kB / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1652, allocations: 4 kB / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1652, allocations: 0 / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1652, allocations: 0 / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1654, allocations: 173.6 kB / 0.6548 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1654, allocations: 0 / 0.6548 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.1655, allocations: 15.98 kB / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1655, allocations: 4 kB / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.1655, allocations: 0 / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1655, allocations: 0 / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1655, allocations: 0 / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.1658, allocations: 183.3 kB / 0.655 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.1659, allocations: 77.11 kB / 0.6551 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1659, allocations: 0 / 0.6551 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.166, allocations: 15.98 kB / 0.6551 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.1661, allocations: 8.109 kB / 0.6551 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1661, allocations: 8 kB / 0.6551 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.577e-05/0.1662, allocations: 87.52 kB / 0.6552 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1662, allocations: 0 / 0.6552 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002331/0.1664, allocations: 15.95 kB / 0.6552 GB, free: 14.43 MB / 0.4981 GB 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 (4): * Single equations (assignments): 4 * 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.0006717/0.1671, allocations: 0.7046 MB / 0.6559 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.1673, allocations: 52.22 kB / 0.656 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1674, allocations: 0 / 0.656 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.767e-05/0.1675, allocations: 32.03 kB / 0.656 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1678, allocations: 9.812 kB / 0.656 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.1695, allocations: 1.329 MB / 0.6573 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1699, allocations: 0.6924 MB / 0.658 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.17, allocations: 4 kB / 0.658 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.17, allocations: 11.55 kB / 0.658 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.17, allocations: 0 / 0.658 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.1974, allocations: 1.772 MB / 0.6597 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.147, allocations: 16.53 kB / 0.6597 GB, free: 9.77 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir_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_TotalAirDryAir.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)