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.001189/0.00119, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.001253/0.001253, allocations: 199 kB / 16.91 MB, free: 6.188 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.288/1.288, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002456/0.002456, allocations: 296.1 kB / 291 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.5076 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 87.86 kB / 0.6066 GB, free: 9.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.161, allocations: 89.14 MB / 0.6936 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00249/0.1636, allocations: 1.478 MB / 0.6951 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.1645, allocations: 0.5967 MB / 0.6956 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.1645, allocations: 0 / 0.6956 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.1646, allocations: 0 / 0.6956 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.1646, allocations: 7.938 kB / 0.6956 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1649, allocations: 83.7 kB / 0.6957 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.598e-05/0.165, allocations: 23.94 kB / 0.6957 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.933e-05/0.1651, allocations: 11.97 kB / 0.6958 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.635e-05/0.1651, allocations: 11.94 kB / 0.6958 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.1652, allocations: 11.92 kB / 0.6958 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.1652, allocations: 4 kB / 0.6958 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.1655, allocations: 151.8 kB / 0.6959 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.1655, allocations: 0 / 0.6959 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.1655, allocations: 15.92 kB / 0.6959 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1656, allocations: 68.14 kB / 0.696 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1657, allocations: 7.938 kB / 0.696 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.1657, allocations: 0 / 0.696 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.1657, allocations: 3.938 kB / 0.696 GB, free: 13.95 MB / 0.545 GB 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.000437/0.1661, allocations: 354 kB / 0.6964 GB, free: 13.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1661, allocations: 12.03 kB / 0.6964 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.1666, allocations: 40.8 kB / 0.6964 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1667, allocations: 160.4 kB / 0.6966 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1667, allocations: 384 / 0.6966 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1667, allocations: 4.375 kB / 0.6966 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.167, allocations: 62.2 kB / 0.6966 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.167, allocations: 4.188 kB / 0.6966 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.167, allocations: 3.938 kB / 0.6966 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.167, allocations: 0 / 0.6966 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.1672, allocations: 51.94 kB / 0.6967 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.1677, allocations: 284.8 kB / 0.697 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.1679, allocations: 58.47 kB / 0.697 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.168, allocations: 32.89 kB / 0.697 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.1681, allocations: 0 / 0.697 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1681, allocations: 42.56 kB / 0.6971 GB, free: 12.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1681, allocations: 0 / 0.6971 GB, free: 12.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004743/0.1686, allocations: 121.4 kB / 0.6972 GB, free: 12.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1686, allocations: 55.53 kB / 0.6973 GB, free: 12.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.251e-05/0.1687, allocations: 97.86 kB / 0.6973 GB, free: 12.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1687, allocations: 25.7 kB / 0.6974 GB, free: 12.37 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.1688, allocations: 80.14 kB / 0.6974 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1688, allocations: 11.89 kB / 0.6975 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1689, allocations: 13.72 kB / 0.6975 GB, free: 12.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.169, allocations: 314.8 kB / 0.6978 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1691, allocations: 27.97 kB / 0.6978 GB, free: 11.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1692, allocations: 27.97 kB / 0.6978 GB, free: 11.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.1695, allocations: 52.8 kB / 0.6979 GB, free: 11.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1695, allocations: 12.06 kB / 0.6979 GB, free: 11.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002873/0.1698, allocations: 93.52 kB / 0.698 GB, free: 11.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1698, allocations: 4 kB / 0.698 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1698, allocations: 0 / 0.698 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.1698, allocations: 0 / 0.698 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.17, allocations: 20 kB / 0.698 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.17, allocations: 3.938 kB / 0.698 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.1701, allocations: 11.98 kB / 0.698 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1701, allocations: 0 / 0.698 GB, free: 11.68 MB / 0.545 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 8.154e-05/0.1702, allocations: 113.1 kB / 0.6981 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.1702, allocations: 4 kB / 0.6981 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.1702, allocations: 15.06 kB / 0.6981 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1703, allocations: 0 / 0.6981 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1703, allocations: 0 / 0.6981 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1703, allocations: 3.984 kB / 0.6981 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1704, allocations: 165.8 kB / 0.6983 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1705, allocations: 0 / 0.6983 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1706, allocations: 11.98 kB / 0.6983 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1706, allocations: 3.984 kB / 0.6983 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1706, allocations: 0 / 0.6983 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1706, allocations: 3.938 kB / 0.6983 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1706, allocations: 7.984 kB / 0.6983 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.1709, allocations: 187.3 kB / 0.6985 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.171, allocations: 77.11 kB / 0.6986 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.171, allocations: 0 / 0.6986 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.1711, allocations: 12.02 kB / 0.6986 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.1712, allocations: 11.98 kB / 0.6986 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1712, allocations: 0 / 0.6986 GB, free: 10.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.1712, allocations: 79.28 kB / 0.6987 GB, free: 10.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1713, allocations: 0 / 0.6987 GB, free: 10.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000225/0.1715, allocations: 12 kB / 0.6987 GB, free: 10.9 MB / 0.545 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.0001523/0.1716, allocations: 115.2 kB / 0.6988 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.1719, allocations: 63.88 kB / 0.6989 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1719, allocations: 0 / 0.6989 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1721, allocations: 27.97 kB / 0.6989 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1723, allocations: 19.92 kB / 0.6989 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.1728, allocations: 168.3 kB / 0.6991 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1731, allocations: 0.6768 MB / 0.6997 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.1731, allocations: 11.42 kB / 0.6997 GB, free: 9.754 MB / 0.545 GB Notification: Performance of SimCode: time 1.954e-06/0.1731, allocations: 0 / 0.6997 GB, free: 9.754 MB / 0.545 GB Notification: Performance of Templates: time 0.002453/0.1756, allocations: 0.9117 MB / 0.7006 GB, free: 8.844 MB / 0.545 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)