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.001433/0.001433, allocations: 103.3 kB / 15.98 MB, free: 6.355 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.001383/0.001383, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.294/1.294, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002409/0.002409, allocations: 291.1 kB / 291 MB, free: 14.68 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.136/1.136, allocations: 178.5 MB / 0.5076 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 95.84 kB / 0.6066 GB, free: 9.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1592, allocations: 89.14 MB / 0.6936 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002623/0.1618, allocations: 1.564 MB / 0.6952 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002822/0.1621, allocations: 119.7 kB / 0.6953 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.1622, allocations: 4 kB / 0.6953 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.1622, allocations: 0 / 0.6953 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.738e-05/0.1623, allocations: 7.922 kB / 0.6953 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1626, allocations: 57.55 kB / 0.6953 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.1627, allocations: 63.78 kB / 0.6954 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.1628, allocations: 19.98 kB / 0.6954 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.1629, allocations: 27.92 kB / 0.6954 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.1629, allocations: 19.91 kB / 0.6955 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1629, allocations: 4 kB / 0.6955 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.163, allocations: 8 kB / 0.6955 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.163, allocations: 15.92 kB / 0.6955 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.163, allocations: 27.86 kB / 0.6955 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.581e-05/0.1631, allocations: 44.14 kB / 0.6956 GB, free: 14.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1631, allocations: 4 kB / 0.6956 GB, free: 14.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1631, allocations: 4 kB / 0.6956 GB, free: 14.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1632, allocations: 0 / 0.6956 GB, free: 14.43 MB / 0.545 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.0005137/0.1637, allocations: 367.4 kB / 0.6959 GB, free: 14.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1637, allocations: 8.031 kB / 0.6959 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1638, allocations: 12.84 kB / 0.6959 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1639, allocations: 160.4 kB / 0.6961 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.164, allocations: 30.27 kB / 0.6961 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.164, allocations: 12.36 kB / 0.6961 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.1642, allocations: 78.16 kB / 0.6962 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1642, allocations: 7.875 kB / 0.6962 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1642, allocations: 0 / 0.6962 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1643, allocations: 0 / 0.6962 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.1644, allocations: 47.95 kB / 0.6963 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.165, allocations: 320.7 kB / 0.6966 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1652, allocations: 54.48 kB / 0.6966 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.1653, allocations: 28.92 kB / 0.6966 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.1653, allocations: 4 kB / 0.6966 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1653, allocations: 34.56 kB / 0.6967 GB, free: 13.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1653, allocations: 0 / 0.6967 GB, free: 13.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003542/0.1657, allocations: 101.5 kB / 0.6968 GB, free: 13.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1657, allocations: 51.41 kB / 0.6968 GB, free: 12.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.1658, allocations: 113.8 kB / 0.6969 GB, free: 12.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1659, allocations: 33.7 kB / 0.697 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.1659, allocations: 92.06 kB / 0.697 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1659, allocations: 11.81 kB / 0.6971 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.166, allocations: 17.72 kB / 0.6971 GB, free: 12.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1661, allocations: 322.8 kB / 0.6974 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.1662, allocations: 19.98 kB / 0.6974 GB, free: 12.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.205e-05/0.1663, allocations: 33.7 kB / 0.6974 GB, free: 12.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.1665, allocations: 61.55 kB / 0.6975 GB, free: 12.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1665, allocations: 4 kB / 0.6975 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.1667, allocations: 81.66 kB / 0.6976 GB, free: 12.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1667, allocations: 4 kB / 0.6976 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1667, allocations: 4.031 kB / 0.6976 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.1668, allocations: 0 / 0.6976 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1669, allocations: 15.98 kB / 0.6976 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1669, allocations: 3.938 kB / 0.6976 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.1669, allocations: 11.89 kB / 0.6976 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.1669, allocations: 4 kB / 0.6976 GB, free: 12.08 MB / 0.545 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.016e-05/0.167, allocations: 117.1 kB / 0.6977 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.1671, allocations: 4 kB / 0.6977 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.1671, allocations: 12.14 kB / 0.6977 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1671, allocations: 0 / 0.6977 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1671, allocations: 0 / 0.6977 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.1671, allocations: 7.969 kB / 0.6978 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1673, allocations: 177.5 kB / 0.6979 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1673, allocations: 0 / 0.6979 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.1674, allocations: 11.98 kB / 0.6979 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1674, allocations: 0 / 0.6979 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1674, allocations: 128 / 0.6979 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.1674, allocations: 8 kB / 0.6979 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1674, allocations: 3.938 kB / 0.6979 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1677, allocations: 187.3 kB / 0.6981 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.1677, allocations: 81.11 kB / 0.6982 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1678, allocations: 0 / 0.6982 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1679, allocations: 7.984 kB / 0.6982 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.1679, allocations: 4 kB / 0.6982 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1679, allocations: 11.98 kB / 0.6982 GB, free: 11.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.168, allocations: 83.28 kB / 0.6983 GB, free: 11.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.168, allocations: 0 / 0.6983 GB, free: 11.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000214/0.1682, allocations: 12 kB / 0.6983 GB, free: 11.27 MB / 0.545 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.0001025/0.1683, allocations: 99.23 kB / 0.6984 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1686, allocations: 59.83 kB / 0.6985 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1686, allocations: 4.062 kB / 0.6985 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.1686, allocations: 19.98 kB / 0.6985 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1689, allocations: 7.938 kB / 0.6985 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.1692, allocations: 183.1 kB / 0.6987 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1696, allocations: 0.6846 MB / 0.6993 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.1696, allocations: 11.44 kB / 0.6993 GB, free: 10.14 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1696, allocations: 0 / 0.6993 GB, free: 10.14 MB / 0.545 GB Notification: Performance of Templates: time 0.002235/0.1718, allocations: 0.8565 MB / 0.7002 GB, free: 9.297 MB / 0.545 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)