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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004751/0.004751, allocations: 101.3 kB / 15.73 MB, free: 6.469 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.001026/0.001026, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002385/0.002385, allocations: 279 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9688/0.9688, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 95.84 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.162, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002412/0.1645, allocations: 1.497 MB / 0.7678 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.1648, allocations: 127.7 kB / 0.7679 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.1649, allocations: 0 / 0.7679 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.1649, allocations: 7.922 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.275e-05/0.165, allocations: 3.938 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1653, allocations: 70.75 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1654, allocations: 63.78 kB / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1655, allocations: 15.98 kB / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.1656, allocations: 27.91 kB / 0.7681 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.1657, allocations: 23.92 kB / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1657, allocations: 4 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/0.1657, allocations: 4 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.1658, allocations: 15.92 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.1658, allocations: 19.92 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1659, allocations: 67.72 kB / 0.7683 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1659, allocations: 4 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1659, allocations: 0 / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.166, allocations: 0 / 0.7683 GB, free: 6.461 MB / 0.5606 GB 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.0004993/0.1665, allocations: 367.3 kB / 0.7686 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1665, allocations: 8.031 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.1665, allocations: 8.875 kB / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1667, allocations: 180.2 kB / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.1667, allocations: 38.27 kB / 0.7688 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1668, allocations: 384 / 0.7688 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.167, allocations: 74.22 kB / 0.7689 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.167, allocations: 3.938 kB / 0.7689 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.167, allocations: 0 / 0.7689 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.167, allocations: 4 kB / 0.7689 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.1672, allocations: 43.95 kB / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.1678, allocations: 324.6 kB / 0.7693 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.168, allocations: 50.53 kB / 0.7693 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.1681, allocations: 32.94 kB / 0.7693 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.1681, allocations: 4 kB / 0.7694 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1681, allocations: 30.56 kB / 0.7694 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.1681, allocations: 3.938 kB / 0.7694 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0003517/0.1685, allocations: 101.6 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1685, allocations: 51.41 kB / 0.7695 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.1686, allocations: 113.8 kB / 0.7696 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1686, allocations: 29.7 kB / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.1687, allocations: 88.05 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1687, allocations: 15.89 kB / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.1688, allocations: 17.72 kB / 0.7698 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1689, allocations: 314.8 kB / 0.7701 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.284e-05/0.169, allocations: 23.97 kB / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1691, allocations: 37.7 kB / 0.7701 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1693, allocations: 61.61 kB / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1693, allocations: 0 / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002192/0.1695, allocations: 85.5 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1695, allocations: 4 kB / 0.7703 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1695, allocations: 8.031 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1695, allocations: 0 / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1696, allocations: 11.98 kB / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1697, allocations: 0 / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.1697, allocations: 20.05 kB / 0.7703 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1697, allocations: 4 kB / 0.7703 GB, free: 4.102 MB / 0.5606 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 7.586e-05/0.1698, allocations: 114.4 kB / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.1698, allocations: 3.906 kB / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.1699, allocations: 11.91 kB / 0.7705 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1699, allocations: 4 kB / 0.7705 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1699, allocations: 0 / 0.7705 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1699, allocations: 0 / 0.7705 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1701, allocations: 177.6 kB / 0.7706 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1701, allocations: 3.938 kB / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.1702, allocations: 19.98 kB / 0.7706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1702, allocations: 0 / 0.7706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.1702, allocations: 0 / 0.7706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1702, allocations: 3.938 kB / 0.7707 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1702, allocations: 4 kB / 0.7707 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1704, allocations: 171.5 kB / 0.7708 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.1705, allocations: 85 kB / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1705, allocations: 7.938 kB / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.1706, allocations: 11.98 kB / 0.7709 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.1707, allocations: 288 / 0.7709 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1707, allocations: 8 kB / 0.7709 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.1707, allocations: 87.27 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1708, allocations: 0 / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002263/0.171, allocations: 8 kB / 0.771 GB, free: 3.297 MB / 0.5606 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 9.493e-05/0.1711, allocations: 100.1 kB / 0.7711 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1713, allocations: 59.81 kB / 0.7712 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1713, allocations: 4.062 kB / 0.7712 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/0.1714, allocations: 27.97 kB / 0.7712 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.1717, allocations: 8 kB / 0.7712 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.172, allocations: 133.5 kB / 0.7713 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1722, allocations: 0.6846 MB / 0.772 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.1723, allocations: 8 kB / 0.772 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.1723, allocations: 7.438 kB / 0.772 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1723, allocations: 0 / 0.772 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of Templates: time 0.002781/0.1751, allocations: 0.8349 MB / 0.7728 GB, free: 1.391 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)