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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001158/0.001158, allocations: 194.7 kB / 16.14 MB, free: 6.707 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 287 kB / 290.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9607/0.9607, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 97.19 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1752, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002762/0.178, allocations: 1.466 MB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000586/0.1786, allocations: 289.7 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.1786, allocations: 0 / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.1787, allocations: 0 / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.1787, allocations: 7.938 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.179, allocations: 54.47 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.413e-05/0.1791, allocations: 23.92 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.1792, allocations: 4 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.1792, allocations: 15.97 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.1793, allocations: 7.938 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1793, allocations: 0 / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.1795, allocations: 96.56 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.1795, allocations: 11.92 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.1796, allocations: 9.656 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1797, allocations: 68.02 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1797, allocations: 4 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1797, allocations: 0 / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1798, allocations: 4 kB / 0.6814 GB, free: 15.15 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.0004234/0.1802, allocations: 346.8 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1802, allocations: 8.031 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1803, allocations: 9.375 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1804, allocations: 165.5 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.1804, allocations: 384 / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1804, allocations: 384 / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1806, allocations: 51.17 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1806, allocations: 4.188 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1806, allocations: 3.938 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1807, allocations: 0 / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.1808, allocations: 39.89 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.1811, allocations: 241 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1813, allocations: 43.02 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.1814, allocations: 28.89 kB / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1814, allocations: 0 / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.1814, allocations: 30.56 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1814, allocations: 0 / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003299/0.1818, allocations: 85.58 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1818, allocations: 55.41 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.1819, allocations: 93.86 kB / 0.6826 GB, free: 13.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1819, allocations: 25.7 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.1819, allocations: 99.97 kB / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.182, allocations: 0 / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.182, allocations: 9.719 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.1821, allocations: 323 kB / 0.683 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.1822, allocations: 11.98 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.1823, allocations: 15.97 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1824, allocations: 44.77 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1824, allocations: 0 / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.1826, allocations: 77.56 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1826, allocations: 4 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1827, allocations: 0 / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1827, allocations: 0 / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.1828, allocations: 11.98 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1828, allocations: 3.984 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1828, allocations: 4 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1828, allocations: 7.938 kB / 0.6832 GB, free: 13.12 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.043e-05/0.1829, allocations: 123 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1829, allocations: 4 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.1832, allocations: 72.72 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1832, allocations: 0 / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1832, allocations: 0 / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1832, allocations: 4.188 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.1834, allocations: 157.6 kB / 0.6835 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1834, allocations: 4.031 kB / 0.6835 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/0.1834, allocations: 7.984 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1834, allocations: 3.984 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1835, allocations: 4 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1835, allocations: 0 / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1835, allocations: 0 / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1837, allocations: 171.4 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.1838, allocations: 81.02 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1838, allocations: 3.984 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.1838, allocations: 4 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.1839, allocations: 0 / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.1839, allocations: 7.984 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.299e-05/0.1839, allocations: 79.28 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1839, allocations: 3.938 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.1842, allocations: 12 kB / 0.6839 GB, free: 12.29 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 (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.0001519/0.1843, allocations: 119.2 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1845, allocations: 31.97 kB / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1846, allocations: 0 / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.1846, allocations: 27.91 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1849, allocations: 14.55 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.1852, allocations: 112.4 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1854, allocations: 0.677 MB / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.443e-05/0.1854, allocations: 3.938 kB / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.1855, allocations: 11.44 kB / 0.6849 GB, free: 11.24 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1855, allocations: 0 / 0.6849 GB, free: 11.24 MB / 494.1 MB Notification: Performance of Templates: time 0.002521/0.188, allocations: 0.531 MB / 0.6854 GB, free: 10.72 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)