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.0008513/0.0008514, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004992/0.004992, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.355 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: 278.5 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004371, allocations: 14.56 kB / 0.5986 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1815, allocations: 88.55 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001471/0.183, allocations: 1.133 MB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005871/0.1836, allocations: 284.8 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.776e-05/0.1836, allocations: 0 / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.1836, allocations: 4.938 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.1837, allocations: 0 / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.184, allocations: 56.36 kB / 0.6866 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.184, allocations: 34.17 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.067e-05/0.1841, allocations: 0 / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.1841, allocations: 4 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.1842, allocations: 15.92 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1842, allocations: 0 / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.1844, allocations: 94.78 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.1844, allocations: 0 / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.1844, allocations: 41.62 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1846, allocations: 68.02 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1846, allocations: 4 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1846, allocations: 0 / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1846, allocations: 0 / 0.6868 GB, free: 13.37 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.0004062/0.185, allocations: 345 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1851, allocations: 8.625 kB / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.1851, allocations: 5.531 kB / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.1853, allocations: 168.4 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1853, allocations: 2.656 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1853, allocations: 4.375 kB / 0.6873 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1855, allocations: 54.17 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1855, allocations: 4.625 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1855, allocations: 8.5 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1855, allocations: 0 / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1857, allocations: 50.33 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.1861, allocations: 249 kB / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1862, allocations: 42.5 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.571e-05/0.1863, allocations: 29.98 kB / 0.6877 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1863, allocations: 4.641 kB / 0.6877 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1864, allocations: 39.27 kB / 0.6878 GB, free: 12.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1864, allocations: 0.5312 kB / 0.6878 GB, free: 12.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003717/0.1868, allocations: 92.22 kB / 0.6879 GB, free: 12.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1868, allocations: 59.39 kB / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.1869, allocations: 97.86 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1869, allocations: 25.7 kB / 0.688 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.187, allocations: 80.14 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.187, allocations: 11.91 kB / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.187, allocations: 9.719 kB / 0.6881 GB, free: 11.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1872, allocations: 318.8 kB / 0.6884 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/0.1873, allocations: 27.95 kB / 0.6885 GB, free: 11.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-05/0.1873, allocations: 19.98 kB / 0.6885 GB, free: 11.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1875, allocations: 52.88 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1875, allocations: 0 / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.1877, allocations: 81.52 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1878, allocations: 9.875 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1878, allocations: 0 / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.1878, allocations: 0 / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.1879, allocations: 11.98 kB / 0.6886 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1879, allocations: 0 / 0.6886 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.188, allocations: 19.92 kB / 0.6887 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.188, allocations: 4 kB / 0.6887 GB, free: 11.26 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.107e-05/0.188, allocations: 119.1 kB / 0.6888 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.1881, allocations: 4 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.1883, allocations: 76.78 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1883, allocations: 8.031 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1883, allocations: 0 / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1884, allocations: 3.984 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1885, allocations: 157.6 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.1885, allocations: 3.938 kB / 0.689 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.1886, allocations: 11.98 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1886, allocations: 0 / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1886, allocations: 0 / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1886, allocations: 0 / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1886, allocations: 4 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1889, allocations: 179.4 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.189, allocations: 77.11 kB / 0.6893 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.189, allocations: 4.031 kB / 0.6893 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.1891, allocations: 11.98 kB / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1891, allocations: 0 / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1891, allocations: 0 / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.1892, allocations: 79.28 kB / 0.6894 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1892, allocations: 0 / 0.6894 GB, free: 10.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1894, allocations: 19.89 kB / 0.6894 GB, free: 10.42 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.0001553/0.1896, allocations: 119.2 kB / 0.6895 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1898, allocations: 47.89 kB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1898, allocations: 0 / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.1899, allocations: 24.05 kB / 0.6896 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1902, allocations: 12.69 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.1904, allocations: 120.6 kB / 0.6897 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1907, allocations: 0.677 MB / 0.6904 GB, free: 9.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.374e-05/0.1908, allocations: 8.062 kB / 0.6904 GB, free: 9.352 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.1908, allocations: 7.438 kB / 0.6904 GB, free: 9.344 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1908, allocations: 0 / 0.6904 GB, free: 9.344 MB / 494.1 MB Notification: Performance of Templates: time 0.002565/0.1934, allocations: 0.5408 MB / 0.6909 GB, free: 8.816 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)