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.004933/0.004933, allocations: 104.9 kB / 15.74 MB, free: 6.039 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.00123/0.001231, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.372/1.372, 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.002097/0.002097, allocations: 279.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.961/0.961, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 99.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1649, allocations: 86.97 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002836/0.1678, allocations: 1.495 MB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.1682, allocations: 135.6 kB / 0.768 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.1683, allocations: 0 / 0.768 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.1683, allocations: 3.938 kB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.1684, allocations: 7.875 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.1688, allocations: 71.81 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1689, allocations: 63.78 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.169, allocations: 19.98 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.1691, allocations: 27.84 kB / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.1692, allocations: 23.92 kB / 0.7682 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.1692, allocations: 4 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/0.1692, allocations: 4 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.1692, allocations: 15.92 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.1693, allocations: 23.92 kB / 0.7682 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.1694, allocations: 67.72 kB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1694, allocations: 0 / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1694, allocations: 0 / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.1694, allocations: 0 / 0.7683 GB, free: 6.488 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.000555/0.17, allocations: 367.3 kB / 0.7686 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.17, allocations: 8.031 kB / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.1701, allocations: 8.922 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1702, allocations: 168.3 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.121e-05/0.1703, allocations: 38.27 kB / 0.7688 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1703, allocations: 4.312 kB / 0.7688 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.1706, allocations: 74.2 kB / 0.7689 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1706, allocations: 3.938 kB / 0.7689 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.1706, allocations: 8 kB / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1706, allocations: 0 / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.1708, allocations: 43.95 kB / 0.769 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.1714, allocations: 324.6 kB / 0.7693 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1716, allocations: 46.55 kB / 0.7693 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.1717, allocations: 32.94 kB / 0.7694 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1717, allocations: 7.984 kB / 0.7694 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1717, allocations: 30.56 kB / 0.7694 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 2.816e-06/0.1717, allocations: 0 / 0.7694 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0003574/0.1721, allocations: 101.7 kB / 0.7695 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1721, allocations: 51.41 kB / 0.7695 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.1722, allocations: 117.8 kB / 0.7696 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1722, allocations: 25.7 kB / 0.7697 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.1723, allocations: 96.03 kB / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.1723, allocations: 7.906 kB / 0.7698 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.1724, allocations: 13.72 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.1725, allocations: 318.8 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.1726, allocations: 23.97 kB / 0.7701 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.1727, allocations: 37.7 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1729, allocations: 65.59 kB / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1729, allocations: 0 / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002225/0.1731, allocations: 81.56 kB / 0.7703 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1731, allocations: 8.031 kB / 0.7703 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1731, allocations: 7.938 kB / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1731, allocations: 0 / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.1732, allocations: 15.92 kB / 0.7703 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1733, allocations: 4 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.1733, allocations: 11.92 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1733, allocations: 4 kB / 0.7703 GB, free: 4.133 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 8.483e-05/0.1734, allocations: 114.4 kB / 0.7704 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.1735, allocations: 3.906 kB / 0.7705 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.1735, allocations: 15.91 kB / 0.7705 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1735, allocations: 0 / 0.7705 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1735, allocations: 128 / 0.7705 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1735, allocations: 0 / 0.7705 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1737, allocations: 177.6 kB / 0.7706 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1737, allocations: 4 kB / 0.7706 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.1738, allocations: 11.98 kB / 0.7707 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1738, allocations: 0 / 0.7707 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1738, allocations: 4 kB / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1738, allocations: 0 / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1738, allocations: 4 kB / 0.7707 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1741, allocations: 179.4 kB / 0.7708 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.1741, allocations: 81.02 kB / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1741, allocations: 0 / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1743, allocations: 19.92 kB / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.1743, allocations: 4 kB / 0.7709 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1743, allocations: 7.984 kB / 0.7709 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.1744, allocations: 87.34 kB / 0.771 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1744, allocations: 0 / 0.771 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002213/0.1746, allocations: 8 kB / 0.771 GB, free: 3.328 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 0.0001134/0.1747, allocations: 99.25 kB / 0.7711 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1749, allocations: 59.83 kB / 0.7712 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.175, allocations: 0 / 0.7712 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.175, allocations: 27.97 kB / 0.7712 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1753, allocations: 10.97 kB / 0.7712 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.1756, allocations: 129.6 kB / 0.7713 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1759, allocations: 0.6846 MB / 0.772 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.1759, allocations: 8.344 kB / 0.772 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.176, allocations: 7.438 kB / 0.772 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.176, allocations: 0 / 0.772 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.00288/0.1789, allocations: 0.8158 MB / 0.7728 GB, free: 1.445 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)