Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5652/0.5652, allocations: 95.61 MB / 110.6 MB, free: 9.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00115/0.00115, allocations: 171.2 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.457/1.457, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00174/0.00174, allocations: 111 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004731, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1538, allocations: 61.53 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.6385, allocations: 94.39 MB / 0.6041 GB, free: 12.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.6388, allocations: 76.64 kB / 0.6042 GB, free: 12.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003926/0.6428, allocations: 1.24 MB / 0.6054 GB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6428, allocations: 0 / 0.6054 GB, free: 11.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.6428, allocations: 4 kB / 0.6054 GB, free: 11.75 MB / 410.7 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.0004051/0.6432, allocations: 350.9 kB / 0.6058 GB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.6433, allocations: 11.98 kB / 0.6058 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.6433, allocations: 4.531 kB / 0.6058 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.6435, allocations: 167 kB / 0.6059 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.6435, allocations: 4.859 kB / 0.6059 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.6435, allocations: 0 / 0.6059 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.6437, allocations: 56.69 kB / 0.606 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.6437, allocations: 0 / 0.606 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6437, allocations: 7.812 kB / 0.606 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6437, allocations: 4 kB / 0.606 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.6439, allocations: 47.14 kB / 0.6061 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.6443, allocations: 247 kB / 0.6063 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.6444, allocations: 45.48 kB / 0.6063 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.6445, allocations: 0 / 0.6063 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.6445, allocations: 30.56 kB / 0.6064 GB, free: 10.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.6445, allocations: 3.938 kB / 0.6064 GB, free: 10.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003679/0.6449, allocations: 104.3 kB / 0.6065 GB, free: 10.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.6449, allocations: 51.41 kB / 0.6065 GB, free: 10.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.645, allocations: 96.75 kB / 0.6066 GB, free: 10.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.645, allocations: 25.7 kB / 0.6066 GB, free: 10.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.6451, allocations: 80.14 kB / 0.6067 GB, free: 10.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.6451, allocations: 15.14 kB / 0.6067 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.6451, allocations: 0 / 0.6067 GB, free: 10.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6452, allocations: 310.8 kB / 0.607 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.6453, allocations: 23.8 kB / 0.607 GB, free: 9.938 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.6454, allocations: 19.98 kB / 0.6071 GB, free: 9.918 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.168e-05/0.6455, allocations: 29.06 kB / 0.6071 GB, free: 9.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6455, allocations: 0 / 0.6071 GB, free: 9.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.6457, allocations: 84.19 kB / 0.6072 GB, free: 9.812 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6457, allocations: 4 kB / 0.6072 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6458, allocations: 0.8125 kB / 0.6072 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6458, allocations: 0 / 0.6072 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.6459, allocations: 11.98 kB / 0.6072 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6459, allocations: 4.031 kB / 0.6072 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.646, allocations: 11.98 kB / 0.6072 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.646, allocations: 0 / 0.6072 GB, free: 9.781 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.426e-05/0.646, allocations: 109.8 kB / 0.6073 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.6461, allocations: 7.859 kB / 0.6073 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.6463, allocations: 95.05 kB / 0.6074 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.6463, allocations: 0 / 0.6074 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6464, allocations: 0 / 0.6074 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6464, allocations: 3.984 kB / 0.6074 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.6465, allocations: 156.7 kB / 0.6076 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6465, allocations: 0 / 0.6076 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.6466, allocations: 12.02 kB / 0.6076 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6466, allocations: 8 kB / 0.6076 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.6466, allocations: 3.953 kB / 0.6076 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.6466, allocations: 0 / 0.6076 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6466, allocations: 0 / 0.6076 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.6469, allocations: 169.9 kB / 0.6077 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.647, allocations: 77.11 kB / 0.6078 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.647, allocations: 4 kB / 0.6078 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.6471, allocations: 19.81 kB / 0.6078 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.6471, allocations: 3.938 kB / 0.6078 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.6471, allocations: 4.188 kB / 0.6079 GB, free: 9.047 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.6472, allocations: 82.64 kB / 0.6079 GB, free: 8.969 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6472, allocations: 8.031 kB / 0.6079 GB, free: 8.961 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.6474, allocations: 19.92 kB / 0.608 GB, free: 8.941 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001973/0.6476, allocations: 111.2 kB / 0.6081 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.6478, allocations: 51.64 kB / 0.6081 GB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6478, allocations: 0 / 0.6081 GB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.6479, allocations: 23.42 kB / 0.6081 GB, free: 8.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.6481, allocations: 0 / 0.6081 GB, free: 8.758 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.6484, allocations: 140.2 kB / 0.6083 GB, free: 8.598 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.6487, allocations: 0.677 MB / 0.6089 GB, free: 7.895 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.6487, allocations: 0 / 0.6089 GB, free: 7.895 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.6487, allocations: 11.44 kB / 0.6089 GB, free: 7.883 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6487, allocations: 0 / 0.6089 GB, free: 7.883 MB / 410.7 MB Notification: Performance of Templates: time 0.002547/0.6513, allocations: 0.5107 MB / 0.6094 GB, free: 7.387 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)