Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001307/0.001307, allocations: 191 kB / 17.29 MB, free: 5.516 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 289.2 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8874/0.8874, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 95.5 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1531, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002367/0.1555, allocations: 1.404 MB / 0.683 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008487/0.1563, allocations: 0.5928 MB / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.1563, allocations: 0 / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.1564, allocations: 0 / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.1564, allocations: 7.922 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.1568, allocations: 99.56 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.1568, allocations: 31.86 kB / 0.6837 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.1569, allocations: 4 kB / 0.6837 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.157, allocations: 11.98 kB / 0.6837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.157, allocations: 11.94 kB / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.157, allocations: 0 / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1573, allocations: 151.7 kB / 0.6838 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.1573, allocations: 3.984 kB / 0.6838 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.1573, allocations: 11.94 kB / 0.6839 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1575, allocations: 103.8 kB / 0.684 GB, free: 5.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1575, allocations: 4 kB / 0.684 GB, free: 5.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1575, allocations: 0 / 0.684 GB, free: 5.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1576, allocations: 0 / 0.684 GB, free: 5.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000422/0.158, allocations: 363.4 kB / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.158, allocations: 8.031 kB / 0.6843 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.1584, allocations: 32.81 kB / 0.6843 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1586, allocations: 168.3 kB / 0.6845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1586, allocations: 384 / 0.6845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1586, allocations: 384 / 0.6845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1588, allocations: 70.12 kB / 0.6846 GB, free: 4.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1588, allocations: 192 / 0.6846 GB, free: 4.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1588, allocations: 7.938 kB / 0.6846 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1589, allocations: 0 / 0.6846 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.1591, allocations: 55.94 kB / 0.6846 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.1595, allocations: 261 kB / 0.6849 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1597, allocations: 70.47 kB / 0.685 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1599, allocations: 29.59 kB / 0.685 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1599, allocations: 0 / 0.685 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1599, allocations: 38.56 kB / 0.685 GB, free: 3.773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1599, allocations: 0 / 0.685 GB, free: 3.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000461/0.1604, allocations: 113.6 kB / 0.6851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.1604, allocations: 51.41 kB / 0.6852 GB, free: 3.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.316e-05/0.1605, allocations: 97.86 kB / 0.6853 GB, free: 3.488 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1605, allocations: 25.7 kB / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.1606, allocations: 96.16 kB / 0.6854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.1606, allocations: 0 / 0.6854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.1606, allocations: 25.59 kB / 0.6854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1608, allocations: 314.8 kB / 0.6857 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1609, allocations: 23.97 kB / 0.6857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.161, allocations: 27.98 kB / 0.6858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1612, allocations: 56.8 kB / 0.6858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1612, allocations: 0 / 0.6858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002716/0.1615, allocations: 97.55 kB / 0.6859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1615, allocations: 7.984 kB / 0.6859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1615, allocations: 0 / 0.6859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1616, allocations: 0 / 0.6859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1617, allocations: 11.98 kB / 0.6859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1617, allocations: 7.938 kB / 0.6859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.1618, allocations: 7.984 kB / 0.6859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1618, allocations: 4.031 kB / 0.6859 GB, free: 2.762 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.467e-05/0.1619, allocations: 113.8 kB / 0.6861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1619, allocations: 0 / 0.6861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.162, allocations: 15.05 kB / 0.6861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.162, allocations: 0 / 0.6861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.162, allocations: 0 / 0.6861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.162, allocations: 4.188 kB / 0.6861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.1621, allocations: 161.6 kB / 0.6862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1622, allocations: 4 kB / 0.6862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1623, allocations: 15.97 kB / 0.6862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1623, allocations: 4 kB / 0.6862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1623, allocations: 7.984 kB / 0.6863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1623, allocations: 0 / 0.6863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1623, allocations: 0 / 0.6863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.1626, allocations: 187.4 kB / 0.6864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.1627, allocations: 81.02 kB / 0.6865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1627, allocations: 7.984 kB / 0.6865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1628, allocations: 8 kB / 0.6865 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.1629, allocations: 3.984 kB / 0.6865 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1629, allocations: 0 / 0.6865 GB, free: 2.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.39e-05/0.1629, allocations: 83.31 kB / 0.6866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.1629, allocations: 0 / 0.6866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.1632, allocations: 15.94 kB / 0.6866 GB, free: 1.969 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 (2): * Single equations (assignments): 2 * 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.0001528/0.1633, allocations: 115.2 kB / 0.6867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.1636, allocations: 63.94 kB / 0.6868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1636, allocations: 0 / 0.6868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1638, allocations: 31.95 kB / 0.6868 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.164, allocations: 12.94 kB / 0.6868 GB, free: 1.738 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.1644, allocations: 134.8 kB / 0.687 GB, free: 1.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.1646, allocations: 0.6768 MB / 0.6876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.201e-05/0.1647, allocations: 11.94 kB / 0.6876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.1647, allocations: 15.42 kB / 0.6877 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1647, allocations: 0 / 0.6877 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of Templates: time 0.00278/0.1675, allocations: 0.7805 MB / 0.6884 GB, free: 84 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)