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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9005/0.9005, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009887/0.0009884, allocations: 172.9 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.262/2.262, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 84.17 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 271.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.444e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5953/0.5953, allocations: 82.76 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.7513, allocations: 108.5 MB / 0.8634 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.7516, allocations: 75.83 kB / 0.8634 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004106/0.7557, allocations: 1.283 MB / 0.8647 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7557, allocations: 4 kB / 0.8647 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.7557, allocations: 0 / 0.8647 GB, free: 1.977 MB / 0.5261 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.0003395/0.7561, allocations: 346.5 kB / 0.865 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.7561, allocations: 8.031 kB / 0.865 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.7561, allocations: 0 / 0.865 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.7563, allocations: 167 kB / 0.8652 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.7563, allocations: 3.953 kB / 0.8652 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.7563, allocations: 3.984 kB / 0.8652 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.451e-05/0.7564, allocations: 12 kB / 0.8652 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.4e-05/0.7565, allocations: 37.7 kB / 0.8652 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.7565, allocations: 0 / 0.8652 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.7565, allocations: 0 / 0.8652 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.7565, allocations: 3.938 kB / 0.8652 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.7568, allocations: 237.3 kB / 0.8655 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.861e-05/0.7568, allocations: 22.52 kB / 0.8655 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.7569, allocations: 12.92 kB / 0.8655 GB, free: 1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.7569, allocations: 4 kB / 0.8655 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.7569, allocations: 34.56 kB / 0.8655 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.7569, allocations: 0 / 0.8655 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001379/0.7571, allocations: 37.7 kB / 0.8656 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.7571, allocations: 51.41 kB / 0.8656 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.7572, allocations: 92.98 kB / 0.8657 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.7572, allocations: 25.7 kB / 0.8657 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.7573, allocations: 88.17 kB / 0.8658 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.7573, allocations: 7.906 kB / 0.8658 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.7573, allocations: 0 / 0.8658 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7574, allocations: 310.8 kB / 0.8661 GB, free: 316 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.7574, allocations: 11.94 kB / 0.8661 GB, free: 304 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.7575, allocations: 0 / 0.8661 GB, free: 304 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.7575, allocations: 11.98 kB / 0.8661 GB, free: 292 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7575, allocations: 0 / 0.8661 GB, free: 292 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.929e-05/0.7576, allocations: 41.72 kB / 0.8662 GB, free: 244 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7576, allocations: 8 kB / 0.8662 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7576, allocations: 0 / 0.8662 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.7576, allocations: 0 / 0.8662 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.7577, allocations: 11.98 kB / 0.8662 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.7577, allocations: 0 / 0.8662 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.7578, allocations: 11.98 kB / 0.8662 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.7578, allocations: 7.938 kB / 0.8662 GB, free: 204 kB / 0.5261 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 () * 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 6.446e-05/0.7579, allocations: 105 kB / 0.8663 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.7579, allocations: 3.953 kB / 0.8663 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.627e-05/0.758, allocations: 57.28 kB / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.758, allocations: 0 / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.758, allocations: 0 / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.758, allocations: 0 / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.7582, allocations: 134.2 kB / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7582, allocations: 0 / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.7583, allocations: 20.02 kB / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7583, allocations: 3.938 kB / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.7583, allocations: 4.141 kB / 0.8665 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7583, allocations: 0 / 0.8665 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7583, allocations: 4 kB / 0.8665 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.7584, allocations: 135.5 kB / 0.8667 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.7585, allocations: 77.11 kB / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.7585, allocations: 11.97 kB / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.7586, allocations: 11.94 kB / 0.8668 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.7586, allocations: 0 / 0.8668 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.7586, allocations: 4 kB / 0.8668 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.7587, allocations: 79.28 kB / 0.8668 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7587, allocations: 0 / 0.8668 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002397/0.7589, allocations: 19.94 kB / 0.8669 GB, free: 15.46 MB / 0.5417 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 () * 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.0001605/0.7591, allocations: 111.2 kB / 0.867 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.7592, allocations: 12 kB / 0.867 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7592, allocations: 0 / 0.867 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.7592, allocations: 8 kB / 0.867 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.7594, allocations: 3.984 kB / 0.867 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.7596, allocations: 55.95 kB / 0.867 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.7598, allocations: 0.6807 MB / 0.8677 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.7598, allocations: 8.062 kB / 0.8677 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.7599, allocations: 11.42 kB / 0.8677 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.7599, allocations: 0 / 0.8677 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of Templates: time 0.002491/0.7624, allocations: 0.4986 MB / 0.8682 GB, free: 14.02 MB / 0.5417 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)