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.0007612/0.0007612, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008078/0.0008079, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00166/0.00166, allocations: 271.1 kB / 291.3 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9534/0.9534, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 12.44 kB / 0.598 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1648, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001477/0.1663, allocations: 1.124 MB / 0.6856 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004567/0.1668, allocations: 269 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.1668, allocations: 2.812 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.1668, allocations: 3.938 kB / 0.6858 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.1669, allocations: 0 / 0.6858 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.1671, allocations: 43.81 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.1672, allocations: 31.86 kB / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.1673, allocations: 0.5 kB / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.1674, allocations: 7.984 kB / 0.6859 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.1674, allocations: 16.42 kB / 0.6859 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1674, allocations: 0.5 kB / 0.6859 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1676, allocations: 93.25 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.1676, allocations: 7.984 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.1677, allocations: 25.7 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.1678, allocations: 52.16 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1678, allocations: 0.9062 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1678, allocations: 0 / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1678, allocations: 1.75 kB / 0.6861 GB, free: 13.79 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.0004276/0.1682, allocations: 344.1 kB / 0.6864 GB, free: 13.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1683, allocations: 8.031 kB / 0.6864 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1683, allocations: 12.98 kB / 0.6865 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1684, allocations: 167.1 kB / 0.6866 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1685, allocations: 0 / 0.6866 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.1685, allocations: 5.719 kB / 0.6866 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1686, allocations: 53.61 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1687, allocations: 0.6562 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1687, allocations: 4 kB / 0.6867 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1687, allocations: 6.469 kB / 0.6867 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1688, allocations: 45.98 kB / 0.6867 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.1692, allocations: 245 kB / 0.687 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1693, allocations: 39.91 kB / 0.687 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.842e-05/0.1694, allocations: 30.34 kB / 0.687 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1694, allocations: 1.312 kB / 0.687 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1694, allocations: 34.56 kB / 0.6871 GB, free: 12.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1694, allocations: 0.75 kB / 0.6871 GB, free: 12.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003391/0.1698, allocations: 97.59 kB / 0.6872 GB, free: 12.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1698, allocations: 55.41 kB / 0.6872 GB, free: 12.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.1699, allocations: 109.9 kB / 0.6873 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1699, allocations: 25.7 kB / 0.6873 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.17, allocations: 80.14 kB / 0.6874 GB, free: 12.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.17, allocations: 8.422 kB / 0.6874 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.17, allocations: 4 kB / 0.6874 GB, free: 12.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1701, allocations: 318.8 kB / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.1702, allocations: 19.98 kB / 0.6877 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.1703, allocations: 23.98 kB / 0.6878 GB, free: 11.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.1704, allocations: 19.98 kB / 0.6878 GB, free: 11.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1704, allocations: 0 / 0.6878 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001715/0.1706, allocations: 81.72 kB / 0.6879 GB, free: 11.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1706, allocations: 4 kB / 0.6879 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1706, allocations: 0 / 0.6879 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1706, allocations: 0 / 0.6879 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.1707, allocations: 19.94 kB / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1707, allocations: 0 / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.1708, allocations: 16.02 kB / 0.6879 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1708, allocations: 0 / 0.6879 GB, free: 11.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/0.1709, allocations: 110.4 kB / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.1709, allocations: 15.97 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1711, allocations: 88.77 kB / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1711, allocations: 0 / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1711, allocations: 3.953 kB / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1712, allocations: 0 / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1713, allocations: 157.7 kB / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1713, allocations: 0 / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.1714, allocations: 8 kB / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1714, allocations: 4.031 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1714, allocations: 4 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1714, allocations: 3.984 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1714, allocations: 0 / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1716, allocations: 175.4 kB / 0.6884 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.1717, allocations: 81.09 kB / 0.6885 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1717, allocations: 0 / 0.6885 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1718, allocations: 8 kB / 0.6885 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.1718, allocations: 3.984 kB / 0.6885 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1718, allocations: 4 kB / 0.6885 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.1719, allocations: 83.22 kB / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1719, allocations: 4.031 kB / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1721, allocations: 19.95 kB / 0.6886 GB, free: 10.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.1722, allocations: 107.2 kB / 0.6887 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1725, allocations: 43.97 kB / 0.6888 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1725, allocations: 4 kB / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.1726, allocations: 31.91 kB / 0.6888 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.1729, allocations: 0 / 0.6888 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.1731, allocations: 128.6 kB / 0.6889 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1734, allocations: 0.677 MB / 0.6896 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.369e-05/0.1734, allocations: 4 kB / 0.6896 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.1735, allocations: 7.438 kB / 0.6896 GB, free: 9.816 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1735, allocations: 0 / 0.6896 GB, free: 9.816 MB / 494.1 MB Notification: Performance of Templates: time 0.002812/0.1763, allocations: 0.5307 MB / 0.6901 GB, free: 9.297 MB / 494.1 MB 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)