Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 176.8 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5931/0.5931, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.119/1.119, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008548, allocations: 101.5 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.821e-06/5.831e-06, allocations: 3.031 kB / 0.5528 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.481/2.581, allocations: 1.834 GB / 2.467 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/2.582, allocations: 95.94 kB / 2.467 GB, free: 137 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.433/7.015, allocations: 1.816 GB / 4.283 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.435e-05/7.015, allocations: 30.2 kB / 4.283 GB, free: 165.5 MB / 0.6823 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.003101/7.018, allocations: 1.186 MB / 4.284 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/7.018, allocations: 8.031 kB / 4.284 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008487/7.019, allocations: 197.4 kB / 4.285 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/7.022, allocations: 1.394 MB / 4.286 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/7.022, allocations: 16 kB / 4.286 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/7.022, allocations: 44 kB / 4.286 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006285/7.023, allocations: 0.5055 MB / 4.286 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/7.024, allocations: 0.7084 MB / 4.287 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/7.024, allocations: 0 / 4.287 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/7.024, allocations: 8 kB / 4.287 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/7.024, allocations: 15.94 kB / 4.287 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/7.026, allocations: 4.175 MB / 4.291 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/7.027, allocations: 450.5 kB / 4.292 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/7.027, allocations: 332.3 kB / 4.292 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/7.027, allocations: 190.2 kB / 4.292 GB, free: 156 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/7.028, allocations: 282.8 kB / 4.292 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/7.028, allocations: 0 / 4.292 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0007949/7.028, allocations: 0.5198 MB / 4.293 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/7.028, allocations: 85.09 kB / 4.293 GB, free: 155 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/7.029, allocations: 0.8717 MB / 4.294 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/7.029, allocations: 29.7 kB / 4.294 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/7.029, allocations: 337.5 kB / 4.294 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/7.029, allocations: 110.5 kB / 4.294 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/7.029, allocations: 3.938 kB / 4.294 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.314e-05/7.029, allocations: 326 kB / 4.295 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/7.03, allocations: 200.9 kB / 4.295 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/7.03, allocations: 0.5162 MB / 4.295 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/7.03, allocations: 298.9 kB / 4.296 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/7.03, allocations: 4 kB / 4.296 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006783/7.031, allocations: 0.6416 MB / 4.296 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002669/7.031, allocations: 2.101 MB / 4.298 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/7.031, allocations: 4 kB / 4.298 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/7.031, allocations: 16.12 kB / 4.298 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/7.032, allocations: 111.8 kB / 4.298 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/7.032, allocations: 11.98 kB / 4.298 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/7.033, allocations: 107.4 kB / 4.299 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/7.033, allocations: 27.98 kB / 4.299 GB, free: 149 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/7.033, allocations: 4 kB / 4.299 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000466/7.033, allocations: 445.6 kB / 4.299 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/7.033, allocations: 11.92 kB / 4.299 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/7.033, allocations: 8 kB / 4.299 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/7.033, allocations: 107.8 kB / 4.299 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/7.033, allocations: 16.16 kB / 4.299 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/7.034, allocations: 95.5 kB / 4.299 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/7.034, allocations: 24 kB / 4.299 GB, free: 148.3 MB / 0.6823 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 9.436e-05/7.034, allocations: 128.8 kB / 4.299 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/7.034, allocations: 94.78 kB / 4.299 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/7.035, allocations: 495 kB / 4.3 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/7.035, allocations: 0 / 4.3 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/7.035, allocations: 4 kB / 4.3 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/7.035, allocations: 3.984 kB / 4.3 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/7.036, allocations: 1.363 MB / 4.301 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/7.036, allocations: 7.984 kB / 4.301 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/7.037, allocations: 72.11 kB / 4.301 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/7.037, allocations: 8 kB / 4.301 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/7.037, allocations: 8 kB / 4.301 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/7.037, allocations: 4 kB / 4.301 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/7.037, allocations: 0 / 4.301 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004677/7.037, allocations: 0.6767 MB / 4.302 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/7.037, allocations: 219.8 kB / 4.302 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/7.038, allocations: 4 kB / 4.302 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/7.038, allocations: 67.77 kB / 4.302 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/7.038, allocations: 27.95 kB / 4.302 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/7.038, allocations: 12 kB / 4.302 GB, free: 145 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00055/7.039, allocations: 0.6886 MB / 4.303 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001019/7.04, allocations: 483.2 kB / 4.304 GB, free: 143.8 MB / 0.6823 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.001012/7.041, allocations: 1.113 MB / 4.305 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007452/7.042, allocations: 0.7883 MB / 4.305 GB, free: 142 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/7.042, allocations: 0 / 4.305 GB, free: 142 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/7.042, allocations: 207.7 kB / 4.306 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/7.044, allocations: 0.5292 MB / 4.306 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/7.046, allocations: 1.393 MB / 4.307 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/7.046, allocations: 1.28 MB / 4.309 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/7.046, allocations: 0 / 4.309 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.02908/7.076, allocations: 23.32 MB / 4.331 GB, free: 115.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)