Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 289.8 MB / 297.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001781/0.001781, allocations: 188.2 kB / 366.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 82.66 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.744e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7477, allocations: 116.3 MB / 0.9726 GB, free: 68.82 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.834, allocations: 404.5 MB / 1.368 GB, free: 83.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/1.834, allocations: 90.64 kB / 1.368 GB, free: 83.54 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.58/3.414, allocations: 478 MB / 1.834 GB, free: 117 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000283/3.414, allocations: 41 kB / 1.834 GB, free: 116.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004383/3.419, allocations: 1.515 MB / 1.836 GB, free: 115.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/3.419, allocations: 8.031 kB / 1.836 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/3.42, allocations: 245.9 kB / 1.836 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004678/3.425, allocations: 1.963 MB / 1.838 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/3.425, allocations: 31.84 kB / 1.838 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/3.425, allocations: 56 kB / 1.838 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001078/3.426, allocations: 0.6248 MB / 1.839 GB, free: 112.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/3.427, allocations: 0.8088 MB / 1.84 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/3.428, allocations: 7.922 kB / 1.84 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/3.428, allocations: 4 kB / 1.84 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/3.428, allocations: 16 kB / 1.84 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005279/3.433, allocations: 4.564 MB / 1.844 GB, free: 106.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/3.434, allocations: 0.5368 MB / 1.845 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/3.434, allocations: 306 kB / 1.845 GB, free: 105.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002467/3.437, allocations: 1.749 MB / 1.847 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/3.437, allocations: 298.2 kB / 1.847 GB, free: 103.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 5.35e-06/3.437, allocations: 3.984 kB / 1.847 GB, free: 103.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.001796/3.439, allocations: 0.7295 MB / 1.848 GB, free: 103 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/3.439, allocations: 59.41 kB / 1.848 GB, free: 102.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/3.44, allocations: 1.011 MB / 1.849 GB, free: 101.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/3.44, allocations: 29.64 kB / 1.849 GB, free: 101.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/3.441, allocations: 432.1 kB / 1.849 GB, free: 101.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/3.441, allocations: 157.8 kB / 1.849 GB, free: 101.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/3.441, allocations: 0 / 1.849 GB, free: 101.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/3.441, allocations: 326 kB / 1.85 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/3.441, allocations: 221.5 kB / 1.85 GB, free: 100.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/3.442, allocations: 0.5469 MB / 1.85 GB, free: 100 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/3.443, allocations: 358.9 kB / 1.851 GB, free: 99.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/3.443, allocations: 4 kB / 1.851 GB, free: 99.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001938/3.445, allocations: 0.95 MB / 1.852 GB, free: 98.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007205/3.445, allocations: 2.917 MB / 1.854 GB, free: 95.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/3.445, allocations: 8 kB / 1.854 GB, free: 95.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/3.446, allocations: 124.8 kB / 1.855 GB, free: 95.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/3.446, allocations: 147.8 kB / 1.855 GB, free: 95.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007195/3.447, allocations: 0.8214 MB / 1.855 GB, free: 94.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/3.448, allocations: 103.2 kB / 1.856 GB, free: 94.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/3.448, allocations: 43.98 kB / 1.856 GB, free: 94.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/3.448, allocations: 4 kB / 1.856 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001572/3.45, allocations: 0.8004 MB / 1.856 GB, free: 93.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/3.45, allocations: 8 kB / 1.856 GB, free: 93.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/3.45, allocations: 101.1 kB / 1.857 GB, free: 93.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/3.451, allocations: 147.8 kB / 1.857 GB, free: 93.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/3.452, allocations: 1.969 MB / 1.859 GB, free: 91.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009427/3.453, allocations: 87.67 kB / 1.859 GB, free: 91.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/3.453, allocations: 39.98 kB / 1.859 GB, free: 91.06 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002136/3.453, allocations: 136.7 kB / 1.859 GB, free: 90.92 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/3.454, allocations: 130.4 kB / 1.859 GB, free: 90.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/3.456, allocations: 0.8562 MB / 1.86 GB, free: 89.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/3.456, allocations: 8 kB / 1.86 GB, free: 89.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/3.456, allocations: 0 / 1.86 GB, free: 89.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/3.457, allocations: 0.8296 MB / 1.861 GB, free: 89.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/3.459, allocations: 1.658 MB / 1.862 GB, free: 87.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/3.459, allocations: 0 / 1.862 GB, free: 87.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/3.46, allocations: 91.94 kB / 1.862 GB, free: 87.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/3.46, allocations: 102.1 kB / 1.862 GB, free: 87.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/3.46, allocations: 11.98 kB / 1.862 GB, free: 87.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005094/3.461, allocations: 0.7724 MB / 1.863 GB, free: 86.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/3.461, allocations: 0 / 1.863 GB, free: 86.34 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001517/3.462, allocations: 1.147 MB / 1.864 GB, free: 85.15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/3.463, allocations: 271.3 kB / 1.865 GB, free: 84.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/3.463, allocations: 3.984 kB / 1.865 GB, free: 84.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/3.464, allocations: 59.86 kB / 1.865 GB, free: 84.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/3.464, allocations: 36.38 kB / 1.865 GB, free: 84.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/3.464, allocations: 23.98 kB / 1.865 GB, free: 84.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001035/3.465, allocations: 0.7787 MB / 1.865 GB, free: 83.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002595/3.468, allocations: 0.69 MB / 1.866 GB, free: 83.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001713/3.469, allocations: 0.7418 MB / 1.867 GB, free: 82.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00214/3.472, allocations: 1.168 MB / 1.868 GB, free: 81.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/3.472, allocations: 0 / 1.868 GB, free: 81.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005319/3.472, allocations: 293.4 kB / 1.868 GB, free: 81.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/3.474, allocations: 497.1 kB / 1.869 GB, free: 80.65 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/3.478, allocations: 1.739 MB / 1.87 GB, free: 78.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/3.48, allocations: 1.41 MB / 1.872 GB, free: 77.42 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/3.48, allocations: 0 / 1.872 GB, free: 77.42 MB / 0.948 GB Notification: Performance of Templates: time 0.04668/3.526, allocations: 27.93 MB / 1.899 GB, free: 49.84 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)