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.001055/0.001055, allocations: 109.8 kB / 16.37 MB, free: 6.477 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.001126/0.001126, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 280.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9023/0.9023, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 88.36 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1756, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002404/0.1781, allocations: 1.408 MB / 0.683 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004988/0.1786, allocations: 287 kB / 0.6833 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.1786, allocations: 0 / 0.6833 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.1787, allocations: 7.938 kB / 0.6833 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.1787, allocations: 7.938 kB / 0.6833 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.179, allocations: 51.75 kB / 0.6833 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.1791, allocations: 27.91 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.1792, allocations: 11.98 kB / 0.6834 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.1792, allocations: 7.938 kB / 0.6834 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.1793, allocations: 11.98 kB / 0.6834 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.1793, allocations: 0 / 0.6834 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1795, allocations: 91.78 kB / 0.6835 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1795, allocations: 7.938 kB / 0.6835 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.1795, allocations: 8 kB / 0.6835 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1797, allocations: 67.8 kB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1797, allocations: 0 / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.1797, allocations: 7.984 kB / 0.6835 GB, free: 5.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1797, allocations: 0 / 0.6835 GB, free: 5.48 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.0004372/0.1802, allocations: 343.5 kB / 0.6839 GB, free: 5.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1802, allocations: 8.031 kB / 0.6839 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.1802, allocations: 4.844 kB / 0.6839 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1804, allocations: 164.4 kB / 0.684 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.1804, allocations: 4.375 kB / 0.684 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1804, allocations: 384 / 0.684 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1806, allocations: 54.17 kB / 0.6841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1806, allocations: 192 / 0.6841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1806, allocations: 3.938 kB / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1806, allocations: 3.938 kB / 0.6841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1807, allocations: 35.95 kB / 0.6841 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.1811, allocations: 245 kB / 0.6844 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1812, allocations: 42.48 kB / 0.6844 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.308e-05/0.1813, allocations: 28.84 kB / 0.6844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1813, allocations: 0 / 0.6844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1813, allocations: 34.56 kB / 0.6845 GB, free: 4.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1813, allocations: 0 / 0.6845 GB, free: 4.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003198/0.1817, allocations: 81.64 kB / 0.6846 GB, free: 4.277 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1817, allocations: 51.41 kB / 0.6846 GB, free: 4.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1818, allocations: 93.86 kB / 0.6847 GB, free: 4.113 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1818, allocations: 29.69 kB / 0.6847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.1819, allocations: 100.2 kB / 0.6848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.1819, allocations: 0 / 0.6848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.182, allocations: 13.72 kB / 0.6848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1821, allocations: 314.8 kB / 0.6851 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.1822, allocations: 15.92 kB / 0.6851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.1823, allocations: 23.91 kB / 0.6852 GB, free: 3.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1824, allocations: 40.89 kB / 0.6852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1824, allocations: 0 / 0.6852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002185/0.1826, allocations: 73.5 kB / 0.6853 GB, free: 3.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1827, allocations: 4 kB / 0.6853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1827, allocations: 0 / 0.6853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1827, allocations: 0 / 0.6853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.1828, allocations: 11.98 kB / 0.6853 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1828, allocations: 4.031 kB / 0.6853 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.1828, allocations: 4 kB / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1828, allocations: 3.938 kB / 0.6853 GB, free: 3.453 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.468e-05/0.1829, allocations: 125.7 kB / 0.6854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1829, allocations: 0 / 0.6854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.1832, allocations: 64.78 kB / 0.6855 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1832, allocations: 4.031 kB / 0.6855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1832, allocations: 4 kB / 0.6855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1832, allocations: 192 / 0.6855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1833, allocations: 157.6 kB / 0.6856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1834, allocations: 7.984 kB / 0.6857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.1834, allocations: 11.92 kB / 0.6857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1834, allocations: 0 / 0.6857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1834, allocations: 4 kB / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1834, allocations: 0 / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1834, allocations: 0 / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1837, allocations: 175.4 kB / 0.6858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1837, allocations: 85 kB / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1837, allocations: 0 / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.1838, allocations: 4 kB / 0.6859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.1839, allocations: 7.984 kB / 0.6859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1839, allocations: 8.031 kB / 0.6859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.053e-05/0.1839, allocations: 75.28 kB / 0.686 GB, free: 2.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1839, allocations: 4 kB / 0.686 GB, free: 2.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1842, allocations: 12 kB / 0.686 GB, free: 2.617 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.0001729/0.1843, allocations: 107.2 kB / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1845, allocations: 35.91 kB / 0.6862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1846, allocations: 4.062 kB / 0.6862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.1846, allocations: 23.97 kB / 0.6862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.1849, allocations: 11.88 kB / 0.6862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.1852, allocations: 110.7 kB / 0.6863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1855, allocations: 0.6768 MB / 0.687 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.887e-05/0.1855, allocations: 64 / 0.687 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.1856, allocations: 15.44 kB / 0.687 GB, free: 1.574 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1856, allocations: 0 / 0.687 GB, free: 1.574 MB / 494.1 MB Notification: Performance of Templates: time 0.002495/0.1881, allocations: 0.6031 MB / 0.6876 GB, free: 0.9844 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)