Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004832/0.004832, allocations: 96.31 kB / 15.73 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.001145/0.001146, allocations: 195.6 kB / 16.67 MB, free: 5.965 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 274.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.963/0.963, allocations: 169.3 MB / 0.4983 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 87.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1574, allocations: 86.97 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002707/0.1602, allocations: 1.666 MB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006272/0.1608, allocations: 403.3 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.1609, allocations: 0 / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.161, allocations: 11.86 kB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.161, allocations: 23.78 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.1614, allocations: 119.6 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1616, allocations: 107.6 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1617, allocations: 51.89 kB / 0.7687 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.1618, allocations: 35.86 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.1618, allocations: 47.77 kB / 0.7688 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1619, allocations: 8 kB / 0.7688 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.162, allocations: 63.89 kB / 0.7688 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.162, allocations: 27.91 kB / 0.7689 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.1621, allocations: 43.8 kB / 0.7689 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1623, allocations: 127.5 kB / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1623, allocations: 7.984 kB / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1623, allocations: 0 / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.1623, allocations: 0 / 0.769 GB, free: 5.723 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005202/0.1629, allocations: 418.9 kB / 0.7694 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1629, allocations: 12.03 kB / 0.7694 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.1631, allocations: 36.81 kB / 0.7695 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1633, allocations: 192.2 kB / 0.7697 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.1634, allocations: 38.27 kB / 0.7697 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1634, allocations: 4.375 kB / 0.7697 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.1636, allocations: 108.4 kB / 0.7698 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1637, allocations: 3.938 kB / 0.7698 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1637, allocations: 12 kB / 0.7698 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.1637, allocations: 4 kB / 0.7698 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.1639, allocations: 71.94 kB / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006238/0.1646, allocations: 392.4 kB / 0.7703 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.165, allocations: 130.5 kB / 0.7704 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1652, allocations: 40.88 kB / 0.7704 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.1652, allocations: 0 / 0.7704 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1652, allocations: 42.56 kB / 0.7705 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1652, allocations: 0 / 0.7705 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003884/0.1656, allocations: 129.6 kB / 0.7706 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1657, allocations: 55.41 kB / 0.7706 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1658, allocations: 141.5 kB / 0.7708 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1658, allocations: 25.7 kB / 0.7708 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.1658, allocations: 104 kB / 0.7709 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1659, allocations: 27.8 kB / 0.7709 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.1659, allocations: 21.72 kB / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.166, allocations: 322.8 kB / 0.7713 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1661, allocations: 31.97 kB / 0.7713 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1662, allocations: 45.84 kB / 0.7713 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1664, allocations: 81.67 kB / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1665, allocations: 0 / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002439/0.1667, allocations: 113.5 kB / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1667, allocations: 10.81 kB / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1667, allocations: 0 / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.1668, allocations: 0 / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1669, allocations: 23.95 kB / 0.7715 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1669, allocations: 7.938 kB / 0.7716 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.167, allocations: 11.94 kB / 0.7716 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.167, allocations: 4 kB / 0.7716 GB, free: 2.875 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 (8): * Single equations (assignments): 8 * 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.995e-05/0.1671, allocations: 114.4 kB / 0.7717 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1671, allocations: 11.95 kB / 0.7717 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.1671, allocations: 16.7 kB / 0.7717 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1671, allocations: 3.938 kB / 0.7717 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1671, allocations: 4 kB / 0.7717 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1672, allocations: 4 kB / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1673, allocations: 201.5 kB / 0.7719 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1674, allocations: 0 / 0.7719 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.512e-05/0.1675, allocations: 12 kB / 0.7719 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1675, allocations: 3.984 kB / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1675, allocations: 8 kB / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1675, allocations: 3.938 kB / 0.7719 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1675, allocations: 0 / 0.7719 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1678, allocations: 204 kB / 0.7721 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.1678, allocations: 85 kB / 0.7722 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1678, allocations: 8 kB / 0.7722 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.168, allocations: 11.92 kB / 0.7722 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.168, allocations: 11.98 kB / 0.7722 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1681, allocations: 4 kB / 0.7722 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.852e-05/0.1681, allocations: 107.2 kB / 0.7723 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1681, allocations: 4 kB / 0.7724 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002335/0.1684, allocations: 19.95 kB / 0.7724 GB, free: 1.961 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 (7): * Single equations (assignments): 7 * 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.056e-05/0.1685, allocations: 99.25 kB / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1687, allocations: 75.95 kB / 0.7725 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1687, allocations: 0 / 0.7725 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1688, allocations: 40.03 kB / 0.7726 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1691, allocations: 27.92 kB / 0.7726 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.1695, allocations: 199 kB / 0.7728 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1698, allocations: 0.7003 MB / 0.7735 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.218e-05/0.1698, allocations: 12.66 kB / 0.7735 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.1699, allocations: 11.44 kB / 0.7735 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1699, allocations: 4 kB / 0.7735 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Templates: time 0.3173/0.4872, allocations: 1.435 MB / 0.7749 GB, free: 14.44 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)