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.0008803/0.0008802, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009136/0.0009136, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001817/0.001817, allocations: 270.5 kB / 291.3 MB, free: 2 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7932/0.7932, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004252, allocations: 16.25 kB / 0.5683 GB, free: 38.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1635, allocations: 83.09 MB / 0.6494 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001697/0.1652, allocations: 1.339 MB / 0.6507 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005745/0.1658, allocations: 349.7 kB / 0.6511 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.1659, allocations: 1.812 kB / 0.6511 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.1659, allocations: 7.922 kB / 0.6511 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.166, allocations: 27.89 kB / 0.6511 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1664, allocations: 105.5 kB / 0.6512 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1665, allocations: 68.38 kB / 0.6513 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.1666, allocations: 34.48 kB / 0.6513 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.1667, allocations: 31.86 kB / 0.6513 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.1667, allocations: 31.84 kB / 0.6514 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1667, allocations: 4 kB / 0.6514 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1669, allocations: 60.83 kB / 0.6514 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.1669, allocations: 15.91 kB / 0.6514 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1669, allocations: 38.27 kB / 0.6515 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1671, allocations: 92.08 kB / 0.6516 GB, free: 1.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1671, allocations: 0.5938 kB / 0.6516 GB, free: 1.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1671, allocations: 5.438 kB / 0.6516 GB, free: 1.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1671, allocations: 0 / 0.6516 GB, free: 1.41 MB / 446.1 MB 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.0004785/0.1676, allocations: 396.5 kB / 0.6519 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.1676, allocations: 12.75 kB / 0.652 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.1678, allocations: 28.91 kB / 0.652 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.168, allocations: 198.8 kB / 0.6522 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/0.1681, allocations: 35.23 kB / 0.6522 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1681, allocations: 8 kB / 0.6522 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.1683, allocations: 107.5 kB / 0.6523 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1684, allocations: 0 / 0.6523 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1684, allocations: 0.6562 kB / 0.6523 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1684, allocations: 0 / 0.6523 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.1686, allocations: 98.55 kB / 0.6524 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.1692, allocations: 395.4 kB / 0.6528 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.1698, allocations: 137.5 kB / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.1698, allocations: 5.656 kB / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1698, allocations: 30.56 kB / 0.653 GB, free: 15.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1698, allocations: 4 kB / 0.653 GB, free: 15.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003964/0.1702, allocations: 159.8 kB / 0.6531 GB, free: 15.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1703, allocations: 55.39 kB / 0.6532 GB, free: 15.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.1704, allocations: 135.6 kB / 0.6533 GB, free: 15.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1704, allocations: 25.7 kB / 0.6533 GB, free: 15.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.1705, allocations: 104.2 kB / 0.6534 GB, free: 15.33 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.1705, allocations: 23.64 kB / 0.6534 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.1705, allocations: 4 kB / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.1706, allocations: 320.2 kB / 0.6538 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/0.1707, allocations: 28.64 kB / 0.6538 GB, free: 14.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1708, allocations: 54.78 kB / 0.6538 GB, free: 14.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1709, allocations: 39.98 kB / 0.6539 GB, free: 14.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1709, allocations: 0 / 0.6539 GB, free: 14.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002474/0.1712, allocations: 125.5 kB / 0.654 GB, free: 14.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1712, allocations: 8 kB / 0.654 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1712, allocations: 7.984 kB / 0.654 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1712, allocations: 3.953 kB / 0.654 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1714, allocations: 19.98 kB / 0.654 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1714, allocations: 0 / 0.654 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.1715, allocations: 12 kB / 0.654 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1715, allocations: 4 kB / 0.654 GB, free: 14.68 MB / 462.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.237e-05/0.1715, allocations: 117.8 kB / 0.6542 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1716, allocations: 11.89 kB / 0.6542 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.1716, allocations: 12.72 kB / 0.6542 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1716, allocations: 7.953 kB / 0.6542 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1716, allocations: 0 / 0.6542 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1716, allocations: 0 / 0.6542 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1718, allocations: 201.5 kB / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1718, allocations: 8 kB / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.89e-05/0.1719, allocations: 15.98 kB / 0.6544 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1719, allocations: 0 / 0.6544 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.172, allocations: 8 kB / 0.6544 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.172, allocations: 0 / 0.6544 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.172, allocations: 3.953 kB / 0.6544 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1723, allocations: 215.3 kB / 0.6546 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.1723, allocations: 88.95 kB / 0.6547 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1723, allocations: 3.984 kB / 0.6547 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1725, allocations: 15.98 kB / 0.6547 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.1725, allocations: 4 kB / 0.6547 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1725, allocations: 11.95 kB / 0.6547 GB, free: 13.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.1726, allocations: 112.4 kB / 0.6548 GB, free: 13.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1726, allocations: 0 / 0.6548 GB, free: 13.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.1729, allocations: 16 kB / 0.6549 GB, free: 13.75 MB / 462.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.511e-05/0.173, allocations: 95.25 kB / 0.655 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.1732, allocations: 92.5 kB / 0.655 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1732, allocations: 0 / 0.655 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1733, allocations: 43.97 kB / 0.6551 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.1736, allocations: 34.42 kB / 0.6551 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.174, allocations: 217 kB / 0.6553 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.1742, allocations: 0.7043 MB / 0.656 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.425e-05/0.1743, allocations: 12.66 kB / 0.656 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.1743, allocations: 11.44 kB / 0.656 GB, free: 12.48 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1743, allocations: 0 / 0.656 GB, free: 12.48 MB / 462.1 MB Notification: Performance of Templates: time 0.003075/0.1774, allocations: 1.268 MB / 0.6573 GB, free: 11.24 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: