Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") [: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.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001064/0.001064, allocations: 181.2 kB / 361.1 MB, free: 7.117 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.608/1.608, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0009809/0.0009808, allocations: 82.12 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.286e-06, allocations: 0 / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8303, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.72/5.551, allocations: 2.065 GB / 3.029 GB, free: 71.45 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/5.551, allocations: 91.61 kB / 3.029 GB, free: 71.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.363/11.91, allocations: 1.802 GB / 4.831 GB, free: 107.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.798e-05/11.91, allocations: 35.92 kB / 4.831 GB, free: 107.5 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003433/11.92, allocations: 1.194 MB / 4.833 GB, free: 106.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/11.92, allocations: 8.531 kB / 4.833 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009366/11.92, allocations: 194.4 kB / 4.833 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/11.92, allocations: 1.397 MB / 4.834 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/11.92, allocations: 16 kB / 4.834 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/11.92, allocations: 36 kB / 4.834 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000699/11.92, allocations: 0.5056 MB / 4.835 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007859/11.92, allocations: 0.7129 MB / 4.835 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/11.92, allocations: 3.938 kB / 4.835 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/11.92, allocations: 4 kB / 4.835 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/11.92, allocations: 12 kB / 4.835 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/11.93, allocations: 4.164 MB / 4.839 GB, free: 98.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/11.93, allocations: 451.1 kB / 4.84 GB, free: 98.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/11.93, allocations: 326.5 kB / 4.84 GB, free: 98.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/11.93, allocations: 194.2 kB / 4.84 GB, free: 97.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/11.93, allocations: 286.8 kB / 4.841 GB, free: 97.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/11.93, allocations: 0 / 4.841 GB, free: 97.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0009321/11.93, allocations: 0.5205 MB / 4.841 GB, free: 96.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/11.93, allocations: 81.11 kB / 4.841 GB, free: 96.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008507/11.93, allocations: 0.8795 MB / 4.842 GB, free: 95.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/11.93, allocations: 29.7 kB / 4.842 GB, free: 95.94 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/11.93, allocations: 332.2 kB / 4.842 GB, free: 95.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/11.93, allocations: 110.4 kB / 4.843 GB, free: 95.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/11.93, allocations: 0 / 4.843 GB, free: 95.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.249e-05/11.93, allocations: 330 kB / 4.843 GB, free: 95.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/11.93, allocations: 204.8 kB / 4.843 GB, free: 94.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/11.93, allocations: 0.5163 MB / 4.844 GB, free: 94.31 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/11.93, allocations: 290.1 kB / 4.844 GB, free: 94.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/11.93, allocations: 4 kB / 4.844 GB, free: 94.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007599/11.93, allocations: 0.6453 MB / 4.844 GB, free: 93.37 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004084/11.93, allocations: 2.097 MB / 4.847 GB, free: 91.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/11.93, allocations: 12 kB / 4.847 GB, free: 91.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/11.93, allocations: 11.91 kB / 4.847 GB, free: 91.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/11.93, allocations: 127.8 kB / 4.847 GB, free: 90.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/11.93, allocations: 11.94 kB / 4.847 GB, free: 90.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/11.93, allocations: 95.5 kB / 4.847 GB, free: 90.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/11.93, allocations: 28 kB / 4.847 GB, free: 90.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/11.93, allocations: 6.5 kB / 4.847 GB, free: 90.83 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005421/11.93, allocations: 453.9 kB / 4.847 GB, free: 90.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/11.93, allocations: 11.98 kB / 4.847 GB, free: 90.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/11.93, allocations: 8 kB / 4.847 GB, free: 90.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/11.93, allocations: 107.8 kB / 4.847 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/11.93, allocations: 11.98 kB / 4.847 GB, free: 90.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006939/11.94, allocations: 91.7 kB / 4.847 GB, free: 90.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/11.94, allocations: 31.89 kB / 4.847 GB, free: 90.13 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001159/11.94, allocations: 132.5 kB / 4.848 GB, free: 89.99 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/11.94, allocations: 90.88 kB / 4.848 GB, free: 89.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006732/11.94, allocations: 490.8 kB / 4.848 GB, free: 89.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/11.94, allocations: 8 kB / 4.848 GB, free: 89.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/11.94, allocations: 0 / 4.848 GB, free: 89.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/11.94, allocations: 7.984 kB / 4.848 GB, free: 89.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/11.94, allocations: 1.363 MB / 4.85 GB, free: 87.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/11.94, allocations: 4 kB / 4.85 GB, free: 87.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/11.94, allocations: 71.89 kB / 4.85 GB, free: 87.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/11.94, allocations: 4.219 kB / 4.85 GB, free: 87.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/11.94, allocations: 8 kB / 4.85 GB, free: 87.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/11.94, allocations: 7.984 kB / 4.85 GB, free: 87.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/11.94, allocations: 0 / 4.85 GB, free: 87.88 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005367/11.94, allocations: 0.6806 MB / 4.85 GB, free: 87.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/11.94, allocations: 219.8 kB / 4.85 GB, free: 86.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/11.94, allocations: 7.984 kB / 4.85 GB, free: 86.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/11.94, allocations: 67.77 kB / 4.851 GB, free: 86.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/11.94, allocations: 23.97 kB / 4.851 GB, free: 86.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/11.94, allocations: 15.98 kB / 4.851 GB, free: 86.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006433/11.94, allocations: 0.6886 MB / 4.851 GB, free: 86.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001238/11.94, allocations: 475.3 kB / 4.852 GB, free: 85.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001328/11.94, allocations: 1.103 MB / 4.853 GB, free: 84.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008931/11.94, allocations: 0.7899 MB / 4.854 GB, free: 83.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/11.94, allocations: 4.062 kB / 4.854 GB, free: 83.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/11.94, allocations: 203.8 kB / 4.854 GB, free: 83.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/11.95, allocations: 0.5398 MB / 4.854 GB, free: 82.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/11.95, allocations: 1.39 MB / 4.856 GB, free: 81.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/11.95, allocations: 1.279 MB / 4.857 GB, free: 80.21 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/11.95, allocations: 0 / 4.857 GB, free: 80.21 MB / 0.948 GB Notification: Performance of Templates: time 0.03362/11.98, allocations: 23.32 MB / 4.88 GB, free: 57.01 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)