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.00152/0.001521, allocations: 104.2 kB / 16.27 MB, free: 5.969 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.001435/0.001435, allocations: 192.8 kB / 17.2 MB, free: 5.594 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.291/1.291, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00246/0.00246, allocations: 290 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.147/1.147, allocations: 178.5 MB / 0.5079 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 99.84 kB / 0.6071 GB, free: 9.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1834, allocations: 89.13 MB / 0.6941 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002893/0.1863, allocations: 1.416 MB / 0.6955 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006069/0.187, allocations: 283.1 kB / 0.6958 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.187, allocations: 0 / 0.6958 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.1871, allocations: 0 / 0.6958 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.1871, allocations: 7.938 kB / 0.6958 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.1875, allocations: 55.73 kB / 0.6959 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.1875, allocations: 23.94 kB / 0.6959 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.1876, allocations: 7.984 kB / 0.6959 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.1877, allocations: 15.94 kB / 0.6959 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.1877, allocations: 11.97 kB / 0.6959 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1878, allocations: 4 kB / 0.6959 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.188, allocations: 91.78 kB / 0.696 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.188, allocations: 0 / 0.696 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.188, allocations: 11.94 kB / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1882, allocations: 72.06 kB / 0.6961 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1882, allocations: 0 / 0.6961 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1882, allocations: 0 / 0.6961 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.1882, allocations: 0 / 0.6961 GB, free: 14.07 MB / 0.545 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.0004936/0.1887, allocations: 351.5 kB / 0.6964 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1888, allocations: 8.031 kB / 0.6964 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1888, allocations: 4.844 kB / 0.6964 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.189, allocations: 164.4 kB / 0.6966 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.189, allocations: 384 / 0.6966 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.189, allocations: 4.312 kB / 0.6966 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1892, allocations: 50.23 kB / 0.6966 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1892, allocations: 192 / 0.6966 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1892, allocations: 7.938 kB / 0.6967 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1892, allocations: 0 / 0.6967 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1894, allocations: 39.94 kB / 0.6967 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1898, allocations: 244.9 kB / 0.6969 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1899, allocations: 50.47 kB / 0.697 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.284e-05/0.19, allocations: 28.84 kB / 0.697 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.19, allocations: 3.938 kB / 0.697 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1901, allocations: 30.56 kB / 0.697 GB, free: 12.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1901, allocations: 0 / 0.697 GB, free: 12.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003672/0.1904, allocations: 89.64 kB / 0.6971 GB, free: 12.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1905, allocations: 51.41 kB / 0.6972 GB, free: 12.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.1906, allocations: 101.8 kB / 0.6973 GB, free: 12.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1906, allocations: 25.7 kB / 0.6973 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.1907, allocations: 88.14 kB / 0.6974 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1907, allocations: 3.906 kB / 0.6974 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1907, allocations: 9.719 kB / 0.6974 GB, free: 12.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.1909, allocations: 318.8 kB / 0.6977 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.191, allocations: 20 kB / 0.6977 GB, free: 12.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.1911, allocations: 15.98 kB / 0.6977 GB, free: 12.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1912, allocations: 36.83 kB / 0.6978 GB, free: 12.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1912, allocations: 0 / 0.6978 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.1914, allocations: 73.66 kB / 0.6978 GB, free: 12.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1915, allocations: 4 kB / 0.6978 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1915, allocations: 3.938 kB / 0.6978 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1915, allocations: 0 / 0.6978 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.1916, allocations: 11.98 kB / 0.6979 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1916, allocations: 0 / 0.6979 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.1916, allocations: 7.984 kB / 0.6979 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1917, allocations: 0 / 0.6979 GB, free: 12.03 MB / 0.545 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 8.764e-05/0.1917, allocations: 117.8 kB / 0.698 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1918, allocations: 4 kB / 0.698 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.192, allocations: 64.78 kB / 0.698 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.192, allocations: 0 / 0.698 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.192, allocations: 0 / 0.698 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.192, allocations: 4 kB / 0.698 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.1922, allocations: 165.5 kB / 0.6982 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1922, allocations: 0 / 0.6982 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.1923, allocations: 11.97 kB / 0.6982 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1923, allocations: 0 / 0.6982 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1923, allocations: 4 kB / 0.6982 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1923, allocations: 3.984 kB / 0.6982 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1923, allocations: 0 / 0.6982 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.1926, allocations: 171.3 kB / 0.6984 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.1926, allocations: 89.03 kB / 0.6985 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1926, allocations: 0 / 0.6985 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.1927, allocations: 4 kB / 0.6985 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1928, allocations: 3.984 kB / 0.6985 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1928, allocations: 4 kB / 0.6985 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.1928, allocations: 79.28 kB / 0.6986 GB, free: 11.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1928, allocations: 0 / 0.6986 GB, free: 11.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002268/0.1931, allocations: 12 kB / 0.6986 GB, free: 11.21 MB / 0.545 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.0001732/0.1932, allocations: 115.2 kB / 0.6987 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1935, allocations: 39.89 kB / 0.6987 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1935, allocations: 0 / 0.6987 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.1936, allocations: 19.98 kB / 0.6987 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1939, allocations: 17.05 kB / 0.6987 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.1942, allocations: 144.4 kB / 0.6989 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1945, allocations: 0.6807 MB / 0.6995 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.1945, allocations: 11.44 kB / 0.6996 GB, free: 10.12 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.1945, allocations: 3.938 kB / 0.6996 GB, free: 10.12 MB / 0.545 GB Notification: Performance of Templates: time 0.002222/0.1968, allocations: 0.6723 MB / 0.7002 GB, free: 9.449 MB / 0.545 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)