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.005148/0.005147, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.00127/0.00127, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002198/0.002198, allocations: 287.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 103.8 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1773, allocations: 86.97 MB / 0.7664 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00257/0.1799, allocations: 1.415 MB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.1804, allocations: 283.1 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1805, allocations: 4 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.1805, allocations: 3.984 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.1806, allocations: 7.875 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.1809, allocations: 55.75 kB / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.181, allocations: 23.91 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1811, allocations: 8 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.1811, allocations: 7.984 kB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.1812, allocations: 11.94 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1812, allocations: 8 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.1814, allocations: 83.84 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.1814, allocations: 11.98 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.1815, allocations: 7.875 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1816, allocations: 71.73 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1816, allocations: 0 / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1816, allocations: 0 / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1816, allocations: 0 / 0.7683 GB, free: 6.473 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.0004395/0.1821, allocations: 347.3 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1821, allocations: 16.03 kB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.1822, allocations: 4.922 kB / 0.7687 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1823, allocations: 168.3 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1823, allocations: 4.375 kB / 0.7688 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1823, allocations: 384 / 0.7688 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1825, allocations: 54.17 kB / 0.7689 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1825, allocations: 192 / 0.7689 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1825, allocations: 3.938 kB / 0.7689 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1825, allocations: 3.938 kB / 0.7689 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1827, allocations: 35.97 kB / 0.7689 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.183, allocations: 245 kB / 0.7692 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1832, allocations: 38.5 kB / 0.7692 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.1833, allocations: 24.89 kB / 0.7692 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1833, allocations: 11.92 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1833, allocations: 38.56 kB / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1833, allocations: 0 / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003282/0.1836, allocations: 77.64 kB / 0.7693 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1837, allocations: 55.41 kB / 0.7694 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.079e-05/0.1838, allocations: 97.98 kB / 0.7695 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1838, allocations: 25.7 kB / 0.7695 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.1838, allocations: 84.14 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1839, allocations: 11.88 kB / 0.7696 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1839, allocations: 13.72 kB / 0.7696 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.184, allocations: 314.8 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.1841, allocations: 19.92 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.1842, allocations: 23.92 kB / 0.77 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1843, allocations: 40.81 kB / 0.77 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1843, allocations: 0 / 0.77 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.1845, allocations: 69.55 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1846, allocations: 8 kB / 0.7701 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1846, allocations: 4.281 kB / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1846, allocations: 0 / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.1847, allocations: 4 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1847, allocations: 4 kB / 0.7701 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.1847, allocations: 7.969 kB / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.1847, allocations: 4 kB / 0.7701 GB, free: 4.422 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 7.076e-05/0.1848, allocations: 118.4 kB / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.1848, allocations: 0 / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.1851, allocations: 76.77 kB / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1851, allocations: 0 / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1851, allocations: 0 / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1851, allocations: 0 / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1852, allocations: 157.6 kB / 0.7704 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1852, allocations: 0 / 0.7704 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.1853, allocations: 11.98 kB / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1853, allocations: 3.938 kB / 0.7704 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1853, allocations: 4.031 kB / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1853, allocations: 0 / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1853, allocations: 0 / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.1856, allocations: 167.4 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.1856, allocations: 89.06 kB / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1857, allocations: 0 / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1857, allocations: 12.02 kB / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1858, allocations: 4 kB / 0.7707 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1858, allocations: 0 / 0.7707 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.1858, allocations: 83.27 kB / 0.7708 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1858, allocations: 0 / 0.7708 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002213/0.1861, allocations: 11.94 kB / 0.7708 GB, free: 3.602 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.0001562/0.1862, allocations: 107.2 kB / 0.7709 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1864, allocations: 51.84 kB / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.1864, allocations: 0 / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.1865, allocations: 19.98 kB / 0.771 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1868, allocations: 11.86 kB / 0.771 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.187, allocations: 114.6 kB / 0.7711 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1873, allocations: 0.6807 MB / 0.7718 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.1873, allocations: 0 / 0.7718 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.1873, allocations: 11.44 kB / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1873, allocations: 0 / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of Templates: time 0.002512/0.1899, allocations: 0.6121 MB / 0.7724 GB, free: 1.945 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)