Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002068/0.002068, allocations: 190.5 kB / 16.25 MB, free: 6.152 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002493/0.002493, allocations: 275.1 kB / 290.3 MB, free: 2.113 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.5069 GB, free: 4.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 97.11 kB / 0.6059 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1659, allocations: 89.15 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003074/0.169, allocations: 1.488 MB / 0.6944 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005523/0.1696, allocations: 283.7 kB / 0.6947 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.1696, allocations: 0.8125 kB / 0.6947 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.1696, allocations: 0 / 0.6947 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.1697, allocations: 5.188 kB / 0.6947 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.17, allocations: 51.81 kB / 0.6947 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.1701, allocations: 22.81 kB / 0.6948 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1702, allocations: 11.97 kB / 0.6948 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.1702, allocations: 8 kB / 0.6948 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.1703, allocations: 11.92 kB / 0.6948 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1703, allocations: 0 / 0.6948 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.1705, allocations: 103.8 kB / 0.6949 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.1705, allocations: 1.344 kB / 0.6949 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.1706, allocations: 11.94 kB / 0.6949 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1707, allocations: 72.06 kB / 0.695 GB, free: 2.633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1707, allocations: 0 / 0.695 GB, free: 2.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1707, allocations: 0.6562 kB / 0.695 GB, free: 2.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1707, allocations: 0 / 0.695 GB, free: 2.633 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.0004705/0.1712, allocations: 351.4 kB / 0.6953 GB, free: 2.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1713, allocations: 8.031 kB / 0.6953 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.1713, allocations: 4.938 kB / 0.6953 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1714, allocations: 168.3 kB / 0.6955 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1715, allocations: 384 / 0.6955 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.1715, allocations: 12.36 kB / 0.6955 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1717, allocations: 42.23 kB / 0.6955 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1717, allocations: 4.188 kB / 0.6955 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1717, allocations: 11.94 kB / 0.6956 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1717, allocations: 0 / 0.6956 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1719, allocations: 27.97 kB / 0.6956 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.1723, allocations: 248.9 kB / 0.6958 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1724, allocations: 46.44 kB / 0.6959 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/0.1725, allocations: 20.91 kB / 0.6959 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1725, allocations: 3.938 kB / 0.6959 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1726, allocations: 34.56 kB / 0.6959 GB, free: 1.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1726, allocations: 0 / 0.6959 GB, free: 1.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003374/0.1729, allocations: 81.64 kB / 0.696 GB, free: 1.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.173, allocations: 55.34 kB / 0.696 GB, free: 1.352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.173, allocations: 105.8 kB / 0.6961 GB, free: 1.238 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1731, allocations: 25.7 kB / 0.6962 GB, free: 1.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.1731, allocations: 84.08 kB / 0.6963 GB, free: 1.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1731, allocations: 7.906 kB / 0.6963 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.1732, allocations: 13.72 kB / 0.6963 GB, free: 1.094 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1733, allocations: 319 kB / 0.6966 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.018e-05/0.1734, allocations: 15.98 kB / 0.6966 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.1735, allocations: 15.98 kB / 0.6966 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1736, allocations: 36.81 kB / 0.6966 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1736, allocations: 0 / 0.6966 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.1738, allocations: 77.61 kB / 0.6967 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1739, allocations: 4 kB / 0.6967 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1739, allocations: 0 / 0.6967 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1739, allocations: 4 kB / 0.6967 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.174, allocations: 7.984 kB / 0.6967 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.174, allocations: 0 / 0.6967 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.174, allocations: 11.98 kB / 0.6967 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1741, allocations: 0 / 0.6967 GB, free: 0.5938 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.614e-05/0.1741, allocations: 117.8 kB / 0.6969 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.1742, allocations: 0 / 0.6969 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.1744, allocations: 72.78 kB / 0.6969 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1744, allocations: 0 / 0.6969 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1744, allocations: 0 / 0.6969 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1744, allocations: 0 / 0.6969 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.1746, allocations: 173.5 kB / 0.6971 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1746, allocations: 4.031 kB / 0.6971 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.1747, allocations: 11.98 kB / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1747, allocations: 0 / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1747, allocations: 0 / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1747, allocations: 0 / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1747, allocations: 0 / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.175, allocations: 171.4 kB / 0.6973 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.175, allocations: 81.05 kB / 0.6973 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.175, allocations: 0 / 0.6973 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1751, allocations: 7.984 kB / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.1752, allocations: 4.188 kB / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1752, allocations: 0 / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.1752, allocations: 87.27 kB / 0.6974 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1752, allocations: 3.938 kB / 0.6974 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000225/0.1755, allocations: 8 kB / 0.6975 GB, free: 15.77 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.0001672/0.1756, allocations: 119.2 kB / 0.6976 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1759, allocations: 35.95 kB / 0.6976 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1759, allocations: 4 kB / 0.6976 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.176, allocations: 15.98 kB / 0.6976 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1762, allocations: 9 kB / 0.6976 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.1765, allocations: 114.7 kB / 0.6977 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1768, allocations: 0.6768 MB / 0.6984 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.1769, allocations: 4 kB / 0.6984 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.1769, allocations: 7.438 kB / 0.6984 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1769, allocations: 0 / 0.6984 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.002932/0.1798, allocations: 0.5506 MB / 0.6989 GB, free: 14.18 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)