Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001177/0.001177, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.549/1.549, allocations: 205.2 MB / 0.6256 GB, free: 5.824 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.0009436/0.0009435, allocations: 91.73 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.014e-05/1.017e-05, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7901, allocations: 116.3 MB / 0.9726 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.537/5.328, allocations: 2.066 GB / 3.039 GB, free: 10.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/5.328, allocations: 92.5 kB / 3.039 GB, free: 9.973 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.881/11.21, allocations: 1.802 GB / 4.841 GB, free: 18.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001127/11.21, allocations: 27.98 kB / 4.841 GB, free: 18.95 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.003736/11.21, allocations: 1.203 MB / 4.842 GB, free: 17.69 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/11.21, allocations: 12.03 kB / 4.842 GB, free: 17.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/11.21, allocations: 186.5 kB / 4.843 GB, free: 17.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/11.22, allocations: 1.405 MB / 4.844 GB, free: 16.03 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/11.22, allocations: 16 kB / 4.844 GB, free: 16.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/11.22, allocations: 36 kB / 4.844 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007114/11.22, allocations: 0.5017 MB / 4.845 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/11.22, allocations: 0.7045 MB / 4.845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/11.22, allocations: 7.938 kB / 4.845 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/11.22, allocations: 7.906 kB / 4.845 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/11.22, allocations: 12 kB / 4.845 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/11.22, allocations: 4.165 MB / 4.849 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/11.22, allocations: 452.9 kB / 4.85 GB, free: 9.809 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/11.22, allocations: 329.7 kB / 4.85 GB, free: 9.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/11.22, allocations: 202.2 kB / 4.85 GB, free: 9.246 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/11.22, allocations: 282.9 kB / 4.851 GB, free: 8.949 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.236e-06/11.22, allocations: 3.984 kB / 4.851 GB, free: 8.945 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0009716/11.23, allocations: 0.5163 MB / 4.851 GB, free: 8.422 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/11.23, allocations: 85.02 kB / 4.851 GB, free: 8.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/11.23, allocations: 0.8756 MB / 4.852 GB, free: 7.426 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/11.23, allocations: 29.64 kB / 4.852 GB, free: 7.391 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/11.23, allocations: 336.2 kB / 4.852 GB, free: 7.059 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/11.23, allocations: 114.3 kB / 4.852 GB, free: 6.945 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/11.23, allocations: 0 / 4.852 GB, free: 6.945 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.688e-05/11.23, allocations: 325.9 kB / 4.853 GB, free: 6.621 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/11.23, allocations: 204.9 kB / 4.853 GB, free: 6.422 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/11.23, allocations: 0.5199 MB / 4.853 GB, free: 5.754 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/11.23, allocations: 286.4 kB / 4.854 GB, free: 5.477 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/11.23, allocations: 4 kB / 4.854 GB, free: 5.473 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007839/11.23, allocations: 0.6495 MB / 4.854 GB, free: 4.816 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003897/11.23, allocations: 2.093 MB / 4.856 GB, free: 2.562 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/11.23, allocations: 12 kB / 4.856 GB, free: 2.551 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/11.23, allocations: 8 kB / 4.856 GB, free: 2.543 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/11.23, allocations: 115.8 kB / 4.857 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/11.23, allocations: 15.92 kB / 4.857 GB, free: 2.414 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009741/11.23, allocations: 99.56 kB / 4.857 GB, free: 2.316 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/11.23, allocations: 27.98 kB / 4.857 GB, free: 2.289 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/11.23, allocations: 4.781 kB / 4.857 GB, free: 2.285 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005357/11.23, allocations: 451.6 kB / 4.857 GB, free: 1.848 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/11.23, allocations: 4 kB / 4.857 GB, free: 1.844 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/11.23, allocations: 12 kB / 4.857 GB, free: 1.832 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/11.23, allocations: 112.1 kB / 4.857 GB, free: 1.723 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/11.23, allocations: 15.91 kB / 4.857 GB, free: 1.707 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/11.23, allocations: 95.59 kB / 4.857 GB, free: 1.613 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/11.23, allocations: 20 kB / 4.857 GB, free: 1.594 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.0001339/11.23, allocations: 131 kB / 4.857 GB, free: 1.461 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/11.23, allocations: 94.78 kB / 4.858 GB, free: 1.367 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/11.23, allocations: 494.9 kB / 4.858 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/11.23, allocations: 4 kB / 4.858 GB, free: 0.8633 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/11.23, allocations: 0 / 4.858 GB, free: 0.8633 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/11.23, allocations: 3.906 kB / 4.858 GB, free: 0.8594 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4265/11.66, allocations: 1.359 MB / 4.859 GB, free: 357.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/11.66, allocations: 0 / 4.859 GB, free: 357.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/11.66, allocations: 77.2 kB / 4.859 GB, free: 357.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/11.66, allocations: 3.344 kB / 4.859 GB, free: 357.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/11.66, allocations: 6.422 kB / 4.859 GB, free: 357.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/11.66, allocations: 6.5 kB / 4.859 GB, free: 357.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/11.66, allocations: 3.906 kB / 4.859 GB, free: 357.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008976/11.66, allocations: 0.6804 MB / 4.86 GB, free: 357.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/11.66, allocations: 219.9 kB / 4.86 GB, free: 357.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/11.66, allocations: 7.219 kB / 4.86 GB, free: 357.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/11.66, allocations: 73.25 kB / 4.86 GB, free: 357.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/11.66, allocations: 32.36 kB / 4.86 GB, free: 357.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/11.66, allocations: 11.5 kB / 4.86 GB, free: 357.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007429/11.66, allocations: 0.6935 MB / 4.861 GB, free: 357.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001428/11.66, allocations: 476 kB / 4.862 GB, free: 357.3 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.001516/11.67, allocations: 1.108 MB / 4.863 GB, free: 357.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000999/11.67, allocations: 0.7756 MB / 4.863 GB, free: 357.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/11.67, allocations: 0 / 4.863 GB, free: 357.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002541/11.67, allocations: 219.1 kB / 4.864 GB, free: 357.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/11.67, allocations: 0.5179 MB / 4.864 GB, free: 357 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/11.67, allocations: 1.396 MB / 4.865 GB, free: 356.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/11.67, allocations: 1.272 MB / 4.867 GB, free: 356 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/11.67, allocations: 0 / 4.867 GB, free: 356 MB / 0.948 GB Notification: Performance of Templates: time 0.03651/11.71, allocations: 23.32 MB / 4.89 GB, free: 355.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)