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.0009496/0.0009496, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006339/0.006339, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 270.4 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9371/0.9371, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004655, allocations: 11.88 kB / 0.5986 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1685, allocations: 88.55 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001585/0.1701, allocations: 1.21 MB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003823/0.1705, allocations: 133.7 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.1705, allocations: 0 / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.1706, allocations: 0 / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.1706, allocations: 3.938 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1709, allocations: 67 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.171, allocations: 59.77 kB / 0.6866 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1711, allocations: 22.83 kB / 0.6866 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.1712, allocations: 11.94 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.1713, allocations: 23.91 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1713, allocations: 0 / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.1713, allocations: 4 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.1713, allocations: 17.09 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.1714, allocations: 41.64 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.858e-05/0.1715, allocations: 59.72 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1715, allocations: 0.5625 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1715, allocations: 0 / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1715, allocations: 1.406 kB / 0.6867 GB, free: 13.45 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.0004773/0.172, allocations: 360.7 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.172, allocations: 13.75 kB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.1721, allocations: 12.83 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1722, allocations: 160.4 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.1723, allocations: 34.2 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1723, allocations: 11.09 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1725, allocations: 78.22 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1726, allocations: 3.938 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1726, allocations: 4.906 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1726, allocations: 0 / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.1728, allocations: 58.39 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006849/0.1735, allocations: 339.6 kB / 0.6878 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1737, allocations: 53.09 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1738, allocations: 39.27 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.1738, allocations: 3.984 kB / 0.6878 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.1739, allocations: 35.44 kB / 0.6879 GB, free: 12.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1739, allocations: 0 / 0.6879 GB, free: 12.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004/0.1743, allocations: 113 kB / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1743, allocations: 59.41 kB / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.1744, allocations: 109.8 kB / 0.6882 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1745, allocations: 25.7 kB / 0.6882 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.1745, allocations: 99.97 kB / 0.6883 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1746, allocations: 7.812 kB / 0.6883 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.1746, allocations: 17.72 kB / 0.6883 GB, free: 11.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1747, allocations: 314.8 kB / 0.6886 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.1748, allocations: 31.97 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1749, allocations: 37.7 kB / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1752, allocations: 73.61 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1752, allocations: 0 / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002265/0.1754, allocations: 89.66 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1754, allocations: 8.031 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1754, allocations: 4 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1754, allocations: 0 / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1756, allocations: 19.92 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1756, allocations: 0 / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.1756, allocations: 19.92 kB / 0.6889 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1757, allocations: 0 / 0.6889 GB, free: 11.03 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 9.579e-05/0.1758, allocations: 119.1 kB / 0.689 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.1758, allocations: 4.031 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.1758, allocations: 11.91 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1758, allocations: 4 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1758, allocations: 0 / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1759, allocations: 0 / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.176, allocations: 181.6 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1761, allocations: 0 / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.1761, allocations: 11.98 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1761, allocations: 8 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1761, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1762, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1762, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1764, allocations: 195.3 kB / 0.6894 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.1765, allocations: 85.02 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1765, allocations: 0 / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1766, allocations: 15.98 kB / 0.6895 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1767, allocations: 4 kB / 0.6895 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1767, allocations: 3.984 kB / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.1768, allocations: 87.28 kB / 0.6896 GB, free: 10.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1768, allocations: 7.938 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.177, allocations: 8 kB / 0.6896 GB, free: 10.2 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.0001115/0.1771, allocations: 95.25 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.1774, allocations: 72.11 kB / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1774, allocations: 0 / 0.6897 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.615e-05/0.1775, allocations: 31.97 kB / 0.6898 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.1777, allocations: 4.188 kB / 0.6898 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.178, allocations: 152.7 kB / 0.6899 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.1783, allocations: 0.6887 MB / 0.6906 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.79e-05/0.1783, allocations: 4 kB / 0.6906 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.1784, allocations: 11.44 kB / 0.6906 GB, free: 9.09 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1784, allocations: 0 / 0.6906 GB, free: 9.09 MB / 494.1 MB Notification: Performance of Templates: time 0.00284/0.1812, allocations: 0.7224 MB / 0.6913 GB, free: 8.383 MB / 494.1 MB 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)