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.00109/0.00109, allocations: 107.4 kB / 16.37 MB, free: 6.477 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.001808/0.001808, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 283.8 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.904/0.904, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 99.38 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1523, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002441/0.1547, allocations: 1.501 MB / 0.6831 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002747/0.155, allocations: 131.6 kB / 0.6832 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.1551, allocations: 0 / 0.6832 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.1551, allocations: 7.875 kB / 0.6832 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.053e-05/0.1552, allocations: 3.938 kB / 0.6832 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1555, allocations: 71.84 kB / 0.6833 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.529e-05/0.1556, allocations: 55.89 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1557, allocations: 19.98 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.1557, allocations: 23.92 kB / 0.6834 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.1558, allocations: 19.92 kB / 0.6834 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1558, allocations: 4 kB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.1558, allocations: 8 kB / 0.6834 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.1559, allocations: 19.91 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.1559, allocations: 27.86 kB / 0.6834 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.077e-05/0.156, allocations: 55.78 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.156, allocations: 0 / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.156, allocations: 0 / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.156, allocations: 0 / 0.6835 GB, free: 5.516 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.0004731/0.1565, allocations: 375.3 kB / 0.6838 GB, free: 5.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1565, allocations: 12.03 kB / 0.6839 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.1566, allocations: 12.78 kB / 0.6839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1567, allocations: 172.4 kB / 0.684 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.1568, allocations: 34.27 kB / 0.6841 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.1568, allocations: 4.375 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.157, allocations: 78.2 kB / 0.6841 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.157, allocations: 3.938 kB / 0.6841 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.157, allocations: 0 / 0.6841 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.157, allocations: 0 / 0.6841 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1572, allocations: 51.89 kB / 0.6842 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.1577, allocations: 324.6 kB / 0.6845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1578, allocations: 42.55 kB / 0.6845 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.1579, allocations: 36.94 kB / 0.6846 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.158, allocations: 0 / 0.6846 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.158, allocations: 38.48 kB / 0.6846 GB, free: 4.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.158, allocations: 7.938 kB / 0.6846 GB, free: 4.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003098/0.1583, allocations: 89.64 kB / 0.6847 GB, free: 4.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1584, allocations: 59.41 kB / 0.6848 GB, free: 4.012 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.1584, allocations: 109.8 kB / 0.6849 GB, free: 3.895 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1585, allocations: 29.7 kB / 0.6849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.1585, allocations: 84.14 kB / 0.685 GB, free: 3.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.1585, allocations: 15.8 kB / 0.685 GB, free: 3.758 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.1586, allocations: 17.72 kB / 0.685 GB, free: 3.734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.1587, allocations: 318.8 kB / 0.6853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.1588, allocations: 23.97 kB / 0.6853 GB, free: 3.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.1588, allocations: 41.64 kB / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.159, allocations: 57.67 kB / 0.6854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.159, allocations: 0 / 0.6854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001922/0.1592, allocations: 85.62 kB / 0.6855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1592, allocations: 8 kB / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1592, allocations: 0 / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1593, allocations: 0 / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.1593, allocations: 15.98 kB / 0.6855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1594, allocations: 0 / 0.6855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.1594, allocations: 19.83 kB / 0.6856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1594, allocations: 0 / 0.6856 GB, free: 3.148 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 7.416e-05/0.1595, allocations: 117.8 kB / 0.6857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1595, allocations: 7.938 kB / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.1596, allocations: 7.906 kB / 0.6857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1596, allocations: 0 / 0.6857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1596, allocations: 0 / 0.6857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1596, allocations: 240 / 0.6857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.1598, allocations: 177.6 kB / 0.6859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1598, allocations: 0 / 0.6859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.1598, allocations: 19.92 kB / 0.6859 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1598, allocations: 3.984 kB / 0.6859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1599, allocations: 0 / 0.6859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1599, allocations: 4 kB / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1599, allocations: 0 / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1601, allocations: 175.4 kB / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.1601, allocations: 81.09 kB / 0.6861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1602, allocations: 8 kB / 0.6861 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1603, allocations: 11.98 kB / 0.6861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.1603, allocations: 4 kB / 0.6862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1603, allocations: 0 / 0.6862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.975e-05/0.1604, allocations: 91.27 kB / 0.6862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1604, allocations: 0 / 0.6862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.1606, allocations: 11.94 kB / 0.6862 GB, free: 2.344 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 8.336e-05/0.1607, allocations: 99.19 kB / 0.6863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1609, allocations: 55.89 kB / 0.6864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1609, allocations: 0 / 0.6864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.161, allocations: 31.91 kB / 0.6864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.1613, allocations: 11.78 kB / 0.6864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.1615, allocations: 132.6 kB / 0.6866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.1617, allocations: 0.6885 MB / 0.6872 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.1618, allocations: 4 kB / 0.6872 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.1618, allocations: 11.44 kB / 0.6873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1618, allocations: 0 / 0.6873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of Templates: time 0.00252/0.1643, allocations: 0.7948 MB / 0.688 GB, free: 488 kB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)