Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.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/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/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.ParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp") [: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.002747/0.002747, allocations: 179.3 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.661/0.661, allocations: 130.6 MB / 138.5 MB, free: 2.156 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 221.3 MB / 391.4 MB, free: 13.03 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.0009982/0.0009981, allocations: 105.2 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.014e-05, allocations: 2.719 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1983, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.11/4.309, allocations: 1.834 GB / 2.461 GB, free: 42.48 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/4.309, allocations: 91.94 kB / 2.461 GB, free: 42.39 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.256/7.565, allocations: 0.9804 GB / 3.442 GB, free: 77.19 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001886/7.566, allocations: 31.98 kB / 3.442 GB, free: 77.16 MB / 0.6667 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.004712/7.57, allocations: 1.2 MB / 3.443 GB, free: 75.91 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/7.57, allocations: 8.031 kB / 3.443 GB, free: 75.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/7.572, allocations: 190.5 kB / 3.443 GB, free: 75.71 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/7.576, allocations: 1.385 MB / 3.445 GB, free: 74.27 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/7.577, allocations: 16 kB / 3.445 GB, free: 74.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/7.577, allocations: 36 kB / 3.445 GB, free: 74.22 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009155/7.578, allocations: 0.5095 MB / 3.445 GB, free: 73.71 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/7.579, allocations: 0.7045 MB / 3.446 GB, free: 72.93 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/7.579, allocations: 0 / 3.446 GB, free: 72.93 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/7.579, allocations: 4 kB / 3.446 GB, free: 72.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/7.579, allocations: 16 kB / 3.446 GB, free: 72.91 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/7.583, allocations: 4.17 MB / 3.45 GB, free: 68.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/7.584, allocations: 458.4 kB / 3.45 GB, free: 68.04 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/7.584, allocations: 323.6 kB / 3.451 GB, free: 67.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/7.584, allocations: 194.2 kB / 3.451 GB, free: 67.49 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/7.585, allocations: 286.7 kB / 3.451 GB, free: 67.19 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/7.585, allocations: 0 / 3.451 GB, free: 67.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001175/7.586, allocations: 0.5198 MB / 3.452 GB, free: 66.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/7.586, allocations: 85.11 kB / 3.452 GB, free: 66.56 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/7.587, allocations: 0.8717 MB / 3.452 GB, free: 65.67 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/7.587, allocations: 29.7 kB / 3.453 GB, free: 65.63 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/7.587, allocations: 344.1 kB / 3.453 GB, free: 65.29 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/7.587, allocations: 114.4 kB / 3.453 GB, free: 65.18 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/7.588, allocations: 0 / 3.453 GB, free: 65.18 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/7.588, allocations: 326 kB / 3.453 GB, free: 64.86 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/7.588, allocations: 200.9 kB / 3.453 GB, free: 64.66 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/7.588, allocations: 0.5202 MB / 3.454 GB, free: 64 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/7.589, allocations: 298.9 kB / 3.454 GB, free: 63.71 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/7.589, allocations: 3.938 kB / 3.454 GB, free: 63.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009338/7.59, allocations: 0.6426 MB / 3.455 GB, free: 63.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004556/7.59, allocations: 2.104 MB / 3.457 GB, free: 60.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/7.59, allocations: 4 kB / 3.457 GB, free: 60.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/7.59, allocations: 8.25 kB / 3.457 GB, free: 60.78 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/7.592, allocations: 295.5 kB / 3.457 GB, free: 60.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/7.595, allocations: 6.235 MB / 3.463 GB, free: 54.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/7.596, allocations: 107.6 kB / 3.463 GB, free: 53.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/7.596, allocations: 31.97 kB / 3.463 GB, free: 53.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/7.596, allocations: 4 kB / 3.463 GB, free: 53.88 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005852/7.597, allocations: 445.4 kB / 3.464 GB, free: 53.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/7.597, allocations: 4 kB / 3.464 GB, free: 53.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/7.597, allocations: 8 kB / 3.464 GB, free: 53.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/7.597, allocations: 160.2 kB / 3.464 GB, free: 53.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/7.597, allocations: 11.94 kB / 3.464 GB, free: 53.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/7.598, allocations: 91.59 kB / 3.464 GB, free: 53.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/7.598, allocations: 24 kB / 3.464 GB, free: 53.16 MB / 0.6667 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): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/7.599, allocations: 124.8 kB / 3.464 GB, free: 53.03 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/7.599, allocations: 98.88 kB / 3.464 GB, free: 52.93 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000786/7.6, allocations: 498.8 kB / 3.465 GB, free: 52.43 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/7.6, allocations: 4 kB / 3.465 GB, free: 52.43 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/7.6, allocations: 0 / 3.465 GB, free: 52.43 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/7.6, allocations: 0 / 3.465 GB, free: 52.43 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/7.602, allocations: 1.363 MB / 3.466 GB, free: 51 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/7.602, allocations: 3.906 kB / 3.466 GB, free: 50.99 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/7.602, allocations: 164 kB / 3.466 GB, free: 50.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/7.602, allocations: 4 kB / 3.466 GB, free: 50.83 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/7.602, allocations: 7.984 kB / 3.466 GB, free: 50.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/7.604, allocations: 6.083 MB / 3.472 GB, free: 44.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/7.604, allocations: 3.938 kB / 3.472 GB, free: 44.5 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006243/7.605, allocations: 0.6734 MB / 3.473 GB, free: 43.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/7.606, allocations: 215.8 kB / 3.473 GB, free: 43.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/7.606, allocations: 7.984 kB / 3.473 GB, free: 43.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/7.607, allocations: 67.77 kB / 3.473 GB, free: 43.45 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/7.607, allocations: 23.97 kB / 3.473 GB, free: 43.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/7.607, allocations: 15.98 kB / 3.473 GB, free: 43.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008628/7.608, allocations: 0.6924 MB / 3.474 GB, free: 42.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001796/7.609, allocations: 475.3 kB / 3.474 GB, free: 42.24 MB / 0.6667 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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001655/7.611, allocations: 1.104 MB / 3.475 GB, free: 41.13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003138/7.614, allocations: 1.019 MB / 3.476 GB, free: 40.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/7.614, allocations: 0 / 3.476 GB, free: 40.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007856/7.615, allocations: 308.1 kB / 3.477 GB, free: 39.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/7.618, allocations: 0.5247 MB / 3.477 GB, free: 39.28 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/7.621, allocations: 1.402 MB / 3.479 GB, free: 37.83 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008527/7.622, allocations: 1.271 MB / 3.48 GB, free: 36.53 MB / 0.6667 GB Notification: Performance of SimCode: time 7.71e-07/7.622, allocations: 4 kB / 3.48 GB, free: 36.53 MB / 0.6667 GB Notification: Performance of Templates: time 0.03819/7.66, allocations: 24.12 MB / 3.503 GB, free: 12.57 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)