Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, 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.001525/0.001526, allocations: 191.2 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 294.4 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.074/1.074, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 98.14 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1556, allocations: 89.14 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002563/0.1582, allocations: 1.484 MB / 0.6944 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000422/0.1586, allocations: 192.6 kB / 0.6946 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.1587, allocations: 8.875 kB / 0.6946 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.1587, allocations: 0 / 0.6946 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.1588, allocations: 7.375 kB / 0.6946 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.1589, allocations: 19.91 kB / 0.6946 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.159, allocations: 27.92 kB / 0.6947 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.1591, allocations: 4 kB / 0.6947 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.1591, allocations: 11.92 kB / 0.6947 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.104e-05/0.1592, allocations: 8 kB / 0.6947 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1592, allocations: 4 kB / 0.6947 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.189e-05/0.1593, allocations: 36.59 kB / 0.6947 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.1593, allocations: 0 / 0.6947 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1593, allocations: 16.58 kB / 0.6947 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.844e-05/0.1594, allocations: 32.19 kB / 0.6948 GB, free: 2.859 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1594, allocations: 0.7812 kB / 0.6948 GB, free: 2.859 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1595, allocations: 0 / 0.6948 GB, free: 2.859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1595, allocations: 0.9375 kB / 0.6948 GB, free: 2.859 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.0004436/0.1599, allocations: 340.1 kB / 0.6951 GB, free: 2.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.16, allocations: 12.02 kB / 0.6951 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.897e-05/0.1601, allocations: 8.938 kB / 0.6951 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1602, allocations: 164.3 kB / 0.6953 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1602, allocations: 4.375 kB / 0.6953 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.1602, allocations: 4.312 kB / 0.6953 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1604, allocations: 54.17 kB / 0.6953 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1604, allocations: 192 / 0.6953 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1604, allocations: 3.938 kB / 0.6953 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1604, allocations: 0 / 0.6953 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1606, allocations: 39.95 kB / 0.6954 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1609, allocations: 244.8 kB / 0.6956 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1611, allocations: 42.53 kB / 0.6957 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-05/0.1612, allocations: 24.84 kB / 0.6957 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1612, allocations: 8 kB / 0.6957 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1612, allocations: 30.56 kB / 0.6957 GB, free: 1.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1612, allocations: 0 / 0.6957 GB, free: 1.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003289/0.1616, allocations: 77.64 kB / 0.6958 GB, free: 1.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1616, allocations: 51.41 kB / 0.6958 GB, free: 1.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.1617, allocations: 106 kB / 0.6959 GB, free: 1.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1617, allocations: 25.7 kB / 0.696 GB, free: 1.445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.1618, allocations: 84.14 kB / 0.696 GB, free: 1.359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1618, allocations: 7.906 kB / 0.696 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.1619, allocations: 9.719 kB / 0.6961 GB, free: 1.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.162, allocations: 310.8 kB / 0.6964 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.825e-05/0.1621, allocations: 27.91 kB / 0.6964 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.1622, allocations: 19.92 kB / 0.6964 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1623, allocations: 40.83 kB / 0.6964 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1623, allocations: 0 / 0.6964 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.1625, allocations: 69.59 kB / 0.6965 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1626, allocations: 4 kB / 0.6965 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1626, allocations: 4.094 kB / 0.6965 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1626, allocations: 0 / 0.6965 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.1627, allocations: 11.98 kB / 0.6965 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1627, allocations: 0 / 0.6965 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.1628, allocations: 7.984 kB / 0.6965 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1628, allocations: 7.938 kB / 0.6965 GB, free: 0.8242 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 7.658e-05/0.1629, allocations: 109.8 kB / 0.6966 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.1629, allocations: 4 kB / 0.6966 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.1632, allocations: 80.77 kB / 0.6967 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1632, allocations: 240 / 0.6967 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1632, allocations: 3.938 kB / 0.6967 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1632, allocations: 3.984 kB / 0.6967 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.1634, allocations: 165.6 kB / 0.6969 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1634, allocations: 0 / 0.6969 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.1635, allocations: 11.98 kB / 0.6969 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1635, allocations: 4 kB / 0.6969 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1635, allocations: 0 / 0.6969 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1635, allocations: 4 kB / 0.6969 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1635, allocations: 0 / 0.6969 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1638, allocations: 175.3 kB / 0.6971 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.1638, allocations: 77.11 kB / 0.6971 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1638, allocations: 4 kB / 0.6972 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.1639, allocations: 4 kB / 0.6972 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.164, allocations: 7.984 kB / 0.6972 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.164, allocations: 0 / 0.6972 GB, free: 88 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.164, allocations: 83.28 kB / 0.6972 GB, free: 4 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.164, allocations: 0 / 0.6972 GB, free: 4 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.1642, allocations: 4 kB / 0.6972 GB, free: 0 / 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 (3): * Single equations (assignments): 3 * 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.0001302/0.1644, allocations: 99.25 kB / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1646, allocations: 43.89 kB / 0.6974 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1646, allocations: 0 / 0.6974 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.781e-05/0.1647, allocations: 23.97 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.165, allocations: 8.875 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.1653, allocations: 122.8 kB / 0.6975 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1656, allocations: 0.6845 MB / 0.6982 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.1656, allocations: 3.938 kB / 0.6982 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.1657, allocations: 11.44 kB / 0.6982 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1657, allocations: 0 / 0.6982 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.002679/0.1684, allocations: 459.8 kB / 0.6987 GB, free: 14.5 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)