Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") [: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.002062/0.002062, allocations: 172.9 kB / 7.457 MB, free: 2.176 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5943/0.5943, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.115/1.115, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008474/0.0008474, allocations: 102.4 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.261e-06/6.282e-06, allocations: 2.5 kB / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 82.31 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.668/2.78, allocations: 1.834 GB / 2.467 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/2.78, allocations: 83.95 kB / 2.467 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.52/7.3, allocations: 1.814 GB / 4.281 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.526e-05/7.3, allocations: 30.34 kB / 4.281 GB, free: 145.9 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.001318/7.301, allocations: 1.145 MB / 4.283 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/7.301, allocations: 8.031 kB / 4.283 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/7.302, allocations: 186.5 kB / 4.283 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/7.303, allocations: 1.117 MB / 4.284 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/7.303, allocations: 19.94 kB / 4.284 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/7.304, allocations: 36 kB / 4.284 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005634/7.304, allocations: 489.7 kB / 4.284 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/7.305, allocations: 0.6811 MB / 4.285 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/7.305, allocations: 3.938 kB / 4.285 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/7.305, allocations: 4 kB / 4.285 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/7.305, allocations: 15.94 kB / 4.285 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/7.307, allocations: 4.664 MB / 4.29 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/7.308, allocations: 461.3 kB / 4.29 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/7.308, allocations: 252.6 kB / 4.29 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/7.308, allocations: 194.2 kB / 4.29 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/7.309, allocations: 265.1 kB / 4.291 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.363e-06/7.309, allocations: 0 / 4.291 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001433/7.31, allocations: 0.7658 MB / 4.291 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/7.31, allocations: 89.03 kB / 4.292 GB, free: 135 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007186/7.311, allocations: 0.8756 MB / 4.292 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/7.311, allocations: 33.7 kB / 4.292 GB, free: 134 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/7.311, allocations: 332.2 kB / 4.293 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/7.311, allocations: 102.5 kB / 4.293 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/7.311, allocations: 4 kB / 4.293 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.165e-05/7.311, allocations: 330 kB / 4.293 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/7.311, allocations: 184.8 kB / 4.293 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/7.312, allocations: 0.5036 MB / 4.294 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/7.312, allocations: 271.3 kB / 4.294 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/7.312, allocations: 4 kB / 4.294 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001298/7.313, allocations: 0.9054 MB / 4.295 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002564/7.313, allocations: 2.089 MB / 4.297 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/7.313, allocations: 8 kB / 4.297 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/7.314, allocations: 238 kB / 4.297 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/7.314, allocations: 67.75 kB / 4.297 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007556/7.315, allocations: 1.143 MB / 4.298 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006061/7.315, allocations: 79.59 kB / 4.298 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/7.315, allocations: 27.98 kB / 4.299 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-06/7.315, allocations: 4 kB / 4.299 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00086/7.316, allocations: 0.5857 MB / 4.299 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/7.316, allocations: 12.03 kB / 4.299 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/7.317, allocations: 196.7 kB / 4.299 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/7.317, allocations: 67.91 kB / 4.299 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/7.319, allocations: 2.764 MB / 4.302 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/7.32, allocations: 79.69 kB / 4.302 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/7.32, allocations: 24 kB / 4.302 GB, free: 123.6 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 8.966e-05/7.32, allocations: 123.3 kB / 4.302 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/7.32, allocations: 98.78 kB / 4.302 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007998/7.321, allocations: 0.6537 MB / 4.303 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/7.321, allocations: 4 kB / 4.303 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/7.321, allocations: 4 kB / 4.303 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/7.321, allocations: 7.922 kB / 4.303 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/7.322, allocations: 1.471 MB / 4.304 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/7.322, allocations: 0 / 4.304 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/7.323, allocations: 32.14 kB / 4.304 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/7.323, allocations: 189 kB / 4.305 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/7.323, allocations: 7.984 kB / 4.305 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005796/7.323, allocations: 1.012 MB / 4.306 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/7.323, allocations: 7.938 kB / 4.306 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007005/7.324, allocations: 0.8435 MB / 4.306 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/7.324, allocations: 223.8 kB / 4.307 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/7.325, allocations: 4 kB / 4.307 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/7.325, allocations: 51.8 kB / 4.307 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/7.325, allocations: 39.69 kB / 4.307 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/7.325, allocations: 15.94 kB / 4.307 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005484/7.326, allocations: 0.6847 MB / 4.307 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001028/7.327, allocations: 483.2 kB / 4.308 GB, free: 117.5 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 (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009648/7.328, allocations: 1.105 MB / 4.309 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001009/7.329, allocations: 0.9155 MB / 4.31 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/7.329, allocations: 0 / 4.31 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/7.329, allocations: 215.4 kB / 4.31 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/7.33, allocations: 373.9 kB / 4.31 GB, free: 115 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/7.332, allocations: 1.389 MB / 4.312 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/7.333, allocations: 1.259 MB / 4.313 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/7.333, allocations: 0 / 4.313 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.02808/7.361, allocations: 23.37 MB / 4.336 GB, free: 89.16 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)