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.001467/0.001467, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001314/0.001314, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002505, allocations: 282.4 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.507 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 102.2 kB / 0.6059 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1604, allocations: 89.16 MB / 0.693 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002951/0.1634, allocations: 1.475 MB / 0.6944 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1645, allocations: 0.5851 MB / 0.695 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.1646, allocations: 0 / 0.695 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.1646, allocations: 0 / 0.695 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.1648, allocations: 7.984 kB / 0.695 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1652, allocations: 87.64 kB / 0.6951 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.1653, allocations: 27.86 kB / 0.6951 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.1654, allocations: 8 kB / 0.6951 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.1654, allocations: 7.984 kB / 0.6951 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.1655, allocations: 11.94 kB / 0.6951 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1655, allocations: 0 / 0.6951 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.1658, allocations: 159.7 kB / 0.6953 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.1658, allocations: 0 / 0.6953 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.1659, allocations: 11.94 kB / 0.6953 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1661, allocations: 104.1 kB / 0.6954 GB, free: 2.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1661, allocations: 3.938 kB / 0.6954 GB, free: 2.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1661, allocations: 3.938 kB / 0.6954 GB, free: 2.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1661, allocations: 0 / 0.6954 GB, free: 2.238 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.0005066/0.1666, allocations: 355.4 kB / 0.6957 GB, free: 1.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1667, allocations: 8.031 kB / 0.6958 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005017/0.1672, allocations: 28.91 kB / 0.6958 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1673, allocations: 168.4 kB / 0.6959 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1674, allocations: 4.375 kB / 0.6959 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1674, allocations: 384 / 0.6959 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1676, allocations: 66.2 kB / 0.696 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1676, allocations: 4.188 kB / 0.696 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1676, allocations: 3.938 kB / 0.696 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1677, allocations: 0 / 0.696 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.1681, allocations: 51.94 kB / 0.6961 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.1686, allocations: 292.6 kB / 0.6963 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1688, allocations: 58.53 kB / 0.6964 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.1689, allocations: 36.83 kB / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.169, allocations: 4 kB / 0.6964 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.169, allocations: 34.56 kB / 0.6965 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.169, allocations: 0 / 0.6965 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004964/0.1695, allocations: 113.6 kB / 0.6966 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.1696, allocations: 55.44 kB / 0.6966 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.1698, allocations: 101.8 kB / 0.6967 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1698, allocations: 25.7 kB / 0.6968 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.1698, allocations: 84.14 kB / 0.6968 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1699, allocations: 7.906 kB / 0.6968 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.17, allocations: 17.7 kB / 0.6969 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1702, allocations: 314.8 kB / 0.6972 GB, free: 228 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1703, allocations: 31.91 kB / 0.6972 GB, free: 196 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1704, allocations: 27.97 kB / 0.6972 GB, free: 168 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.1707, allocations: 60.88 kB / 0.6973 GB, free: 104 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1707, allocations: 0 / 0.6973 GB, free: 104 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003122/0.171, allocations: 93.5 kB / 0.6974 GB, free: 4 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.171, allocations: 5.875 kB / 0.6974 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.171, allocations: 0 / 0.6974 GB, free: 0 / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.171, allocations: 0 / 0.6974 GB, free: 0 / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1712, allocations: 16.02 kB / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1712, allocations: 7.984 kB / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.42e-05/0.1713, allocations: 7.984 kB / 0.6974 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1713, allocations: 0 / 0.6974 GB, free: 15.97 MB / 0.4981 GB 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 9.658e-05/0.1714, allocations: 121.8 kB / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1715, allocations: 0 / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.1715, allocations: 7.125 kB / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1715, allocations: 0 / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1715, allocations: 0 / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1715, allocations: 4 kB / 0.6975 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1717, allocations: 169.5 kB / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1717, allocations: 0 / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1719, allocations: 15.97 kB / 0.6977 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1719, allocations: 0 / 0.6977 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1719, allocations: 0 / 0.6977 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1719, allocations: 7.938 kB / 0.6977 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1719, allocations: 4 kB / 0.6977 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.1723, allocations: 187.4 kB / 0.6979 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.1724, allocations: 77.11 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1724, allocations: 0 / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1725, allocations: 16.02 kB / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.1726, allocations: 0 / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1726, allocations: 0 / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.599e-05/0.1726, allocations: 83.27 kB / 0.6981 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1726, allocations: 0 / 0.6981 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002481/0.1729, allocations: 16 kB / 0.6981 GB, free: 15.18 MB / 0.4981 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 (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.000178/0.1731, allocations: 115.2 kB / 0.6982 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.1734, allocations: 63.88 kB / 0.6982 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1734, allocations: 0 / 0.6982 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1736, allocations: 27.97 kB / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1739, allocations: 12.94 kB / 0.6983 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.1743, allocations: 138.7 kB / 0.6984 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1747, allocations: 0.6729 MB / 0.6991 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.613e-05/0.1748, allocations: 15.98 kB / 0.6991 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.1748, allocations: 7.438 kB / 0.6991 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1748, allocations: 0 / 0.6991 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.003112/0.178, allocations: 0.7387 MB / 0.6998 GB, free: 13.34 MB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)