Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_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.001097/0.001097, allocations: 108 kB / 15.61 MB, free: 152 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.001409/0.001409, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 282.8 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9015/0.9015, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 95.53 kB / 0.5953 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1501, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002674/0.1528, allocations: 1.492 MB / 0.6817 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.1531, allocations: 126 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.1532, allocations: 0 / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.1532, allocations: 7.938 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.1533, allocations: 3.938 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1536, allocations: 74.52 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.275e-05/0.1537, allocations: 61.91 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.1538, allocations: 24.14 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.1538, allocations: 31.91 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.1539, allocations: 19.92 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1539, allocations: 4.719 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.154, allocations: 4 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.154, allocations: 20.8 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.154, allocations: 23.86 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.153e-05/0.1541, allocations: 52.55 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1541, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1541, allocations: 0.5625 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1542, allocations: 0 / 0.6822 GB, free: 14.64 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.0004804/0.1546, allocations: 373.4 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1547, allocations: 8.031 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.1547, allocations: 34.75 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.1548, allocations: 8.844 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1549, allocations: 172.4 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.1549, allocations: 34.2 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.155, allocations: 384 / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1552, allocations: 81.95 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1552, allocations: 0 / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1552, allocations: 7.984 kB / 0.6829 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1552, allocations: 0 / 0.6829 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.1554, allocations: 47.95 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.156, allocations: 324.6 kB / 0.6832 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1561, allocations: 50.55 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1562, allocations: 28.94 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.1563, allocations: 0 / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.1564, allocations: 38.55 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1564, allocations: 3.938 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003584/0.1568, allocations: 105.5 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.1568, allocations: 55.41 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.1569, allocations: 105.8 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1569, allocations: 29.7 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.157, allocations: 84.14 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.157, allocations: 15.8 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.157, allocations: 17.72 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1572, allocations: 318.8 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.1573, allocations: 23.97 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-05/0.1574, allocations: 33.7 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1575, allocations: 61.61 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1575, allocations: 0 / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002171/0.1578, allocations: 81.66 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1578, allocations: 11.94 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1578, allocations: 0 / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1578, allocations: 0 / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.1579, allocations: 15.92 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1579, allocations: 4 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.642e-05/0.158, allocations: 19.83 kB / 0.6843 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.158, allocations: 4.031 kB / 0.6843 GB, free: 12.23 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 (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 6.956e-05/0.1581, allocations: 115.1 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.1581, allocations: 4 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.1581, allocations: 7.906 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1581, allocations: 0 / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1582, allocations: 0 / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1582, allocations: 0 / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1583, allocations: 181.7 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.1584, allocations: 4.234 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.1584, allocations: 15.98 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1584, allocations: 0 / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-06/0.1584, allocations: 0 / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1584, allocations: 0 / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1585, allocations: 3.984 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1587, allocations: 187.3 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.1588, allocations: 77.11 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1588, allocations: 7.938 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1589, allocations: 11.98 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.159, allocations: 0 / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.159, allocations: 7.984 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.159, allocations: 91.66 kB / 0.685 GB, free: 11.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.159, allocations: 0 / 0.685 GB, free: 11.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.1593, allocations: 8 kB / 0.685 GB, free: 11.43 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 (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.0005198/0.1598, allocations: 0.7162 MB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.16, allocations: 47.95 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.16, allocations: 4 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.1601, allocations: 31.98 kB / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1604, allocations: 4.75 kB / 0.6858 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1619, allocations: 1.329 MB / 0.6871 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.1621, allocations: 0.6807 MB / 0.6877 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.759e-05/0.1622, allocations: 4 kB / 0.6877 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.1622, allocations: 15.44 kB / 0.6877 GB, free: 8.461 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1622, allocations: 0 / 0.6877 GB, free: 8.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.1829, allocations: 1.766 MB / 0.6895 GB, free: 6.828 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.206, allocations: 3.938 kB / 0.6895 GB, free: 6.824 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)