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.00776/0.00776, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.00173/0.00173, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 283 kB / 290.8 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9497/0.9497, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 92.14 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1797, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00239/0.1821, allocations: 1.402 MB / 0.7677 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.1826, allocations: 279.1 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.1827, allocations: 4 kB / 0.768 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.1827, allocations: 3.938 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.1828, allocations: 11.91 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.1831, allocations: 59.75 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.201e-05/0.1831, allocations: 23.92 kB / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.387e-05/0.1832, allocations: 11.94 kB / 0.7681 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.735e-05/0.1833, allocations: 7.984 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.1833, allocations: 11.94 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1833, allocations: 0 / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.1835, allocations: 91.78 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.1836, allocations: 7.984 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.1836, allocations: 15.92 kB / 0.7682 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.1838, allocations: 67.81 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1838, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1838, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1838, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 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.0004438/0.1842, allocations: 347.4 kB / 0.7686 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1843, allocations: 8.031 kB / 0.7686 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.1843, allocations: 4.938 kB / 0.7687 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1844, allocations: 172.3 kB / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1844, allocations: 8.312 kB / 0.7688 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1845, allocations: 384 / 0.7688 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1846, allocations: 50.23 kB / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1846, allocations: 192 / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1847, allocations: 3.938 kB / 0.7689 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1847, allocations: 4 kB / 0.7689 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.1848, allocations: 31.97 kB / 0.7689 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1851, allocations: 249 kB / 0.7691 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1853, allocations: 42.44 kB / 0.7692 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.1854, allocations: 24.91 kB / 0.7692 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1854, allocations: 0 / 0.7692 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1854, allocations: 42.55 kB / 0.7693 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.1854, allocations: 3.984 kB / 0.7693 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003383/0.1858, allocations: 77.66 kB / 0.7693 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1858, allocations: 59.33 kB / 0.7694 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.1859, allocations: 93.86 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1859, allocations: 29.7 kB / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.186, allocations: 84.27 kB / 0.7696 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.186, allocations: 7.906 kB / 0.7696 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.186, allocations: 17.7 kB / 0.7696 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1862, allocations: 318.8 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.1862, allocations: 11.98 kB / 0.7699 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.1863, allocations: 19.98 kB / 0.7699 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1865, allocations: 40.88 kB / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1865, allocations: 0 / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.1867, allocations: 69.55 kB / 0.77 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1867, allocations: 7.938 kB / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.1867, allocations: 3.984 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1867, allocations: 4 kB / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.1868, allocations: 4 kB / 0.7701 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1868, allocations: 4.031 kB / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.1869, allocations: 11.92 kB / 0.7701 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1869, allocations: 0 / 0.7701 GB, free: 4.383 MB / 0.5606 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 6.648e-05/0.187, allocations: 118.4 kB / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.187, allocations: 3.906 kB / 0.7702 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.1872, allocations: 64.78 kB / 0.7703 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1872, allocations: 12.02 kB / 0.7703 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1872, allocations: 0 / 0.7703 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1873, allocations: 0 / 0.7703 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1874, allocations: 157.6 kB / 0.7704 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1874, allocations: 0 / 0.7704 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.1875, allocations: 11.92 kB / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1875, allocations: 4 kB / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.1875, allocations: 0 / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1875, allocations: 0 / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1875, allocations: 3.984 kB / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1878, allocations: 167.5 kB / 0.7706 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.1878, allocations: 77.11 kB / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.1878, allocations: 0 / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.1879, allocations: 7.984 kB / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.188, allocations: 8 kB / 0.7707 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.188, allocations: 4 kB / 0.7707 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.188, allocations: 83.31 kB / 0.7708 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.188, allocations: 0 / 0.7708 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000226/0.1882, allocations: 11.98 kB / 0.7708 GB, free: 3.566 MB / 0.5606 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.0001759/0.1884, allocations: 115.1 kB / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1886, allocations: 35.95 kB / 0.7709 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1887, allocations: 4.062 kB / 0.7709 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.1887, allocations: 19.98 kB / 0.771 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.189, allocations: 7.938 kB / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.1892, allocations: 114.6 kB / 0.7711 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1895, allocations: 0.6806 MB / 0.7717 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.1895, allocations: 3.938 kB / 0.7717 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.1896, allocations: 15.5 kB / 0.7718 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1896, allocations: 0 / 0.7718 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of Templates: time 0.002817/0.1924, allocations: 0.6171 MB / 0.7724 GB, free: 1.898 MB / 0.5606 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)