Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") [: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.00326/0.00326, allocations: 175.2 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.666/0.666, allocations: 130.6 MB / 138.5 MB, free: 2.328 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.544/1.544, allocations: 221.3 MB / 391.4 MB, free: 13.07 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.000924/0.000924, allocations: 97.7 kB / 473.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.717e-06/8.757e-06, allocations: 2.406 kB / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1617, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.866/4.027, allocations: 1.834 GB / 2.461 GB, free: 25.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/4.028, allocations: 91.89 kB / 2.461 GB, free: 25.82 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.646/7.674, allocations: 0.9809 GB / 3.442 GB, free: 59.91 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001449/7.674, allocations: 27.98 kB / 3.442 GB, free: 59.88 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.002737/7.677, allocations: 1.134 MB / 3.443 GB, free: 58.69 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/7.677, allocations: 12.03 kB / 3.443 GB, free: 58.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/7.678, allocations: 186.5 kB / 3.444 GB, free: 58.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/7.681, allocations: 1.12 MB / 3.445 GB, free: 57.32 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/7.681, allocations: 16 kB / 3.445 GB, free: 57.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/7.682, allocations: 36 kB / 3.445 GB, free: 57.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007585/7.682, allocations: 489.7 kB / 3.445 GB, free: 56.79 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008535/7.683, allocations: 0.6811 MB / 3.446 GB, free: 56.03 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/7.683, allocations: 3.938 kB / 3.446 GB, free: 56.03 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/7.683, allocations: 8 kB / 3.446 GB, free: 56.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/7.683, allocations: 15.94 kB / 3.446 GB, free: 56 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00428/7.688, allocations: 4.66 MB / 3.45 GB, free: 50.98 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/7.688, allocations: 442.5 kB / 3.451 GB, free: 50.53 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/7.688, allocations: 245.4 kB / 3.451 GB, free: 50.29 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/7.689, allocations: 206.1 kB / 3.451 GB, free: 50.05 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/7.689, allocations: 263.2 kB / 3.452 GB, free: 49.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.345e-06/7.689, allocations: 0 / 3.452 GB, free: 49.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001719/7.691, allocations: 0.7439 MB / 3.452 GB, free: 49.02 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/7.691, allocations: 93.03 kB / 3.452 GB, free: 48.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/7.692, allocations: 0.8795 MB / 3.453 GB, free: 48.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/7.692, allocations: 25.7 kB / 3.453 GB, free: 47.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/7.692, allocations: 337.2 kB / 3.454 GB, free: 47.65 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/7.692, allocations: 102.5 kB / 3.454 GB, free: 47.55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/7.692, allocations: 0 / 3.454 GB, free: 47.55 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.799e-05/7.692, allocations: 326 kB / 3.454 GB, free: 47.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/7.693, allocations: 192.8 kB / 3.454 GB, free: 47.04 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/7.693, allocations: 0.5038 MB / 3.455 GB, free: 46.39 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/7.693, allocations: 282.1 kB / 3.455 GB, free: 46.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/7.693, allocations: 3.906 kB / 3.455 GB, free: 46.11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001489/7.695, allocations: 0.8873 MB / 3.456 GB, free: 45.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005459/7.695, allocations: 2.093 MB / 3.458 GB, free: 42.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/7.695, allocations: 4 kB / 3.458 GB, free: 42.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004971/7.696, allocations: 267.6 kB / 3.458 GB, free: 42.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/7.696, allocations: 71.84 kB / 3.458 GB, free: 42.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/7.698, allocations: 1.235 MB / 3.459 GB, free: 41.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008981/7.699, allocations: 83.53 kB / 3.459 GB, free: 41.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.718e-05/7.699, allocations: 24 kB / 3.459 GB, free: 41.26 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/7.699, allocations: 6.188 kB / 3.459 GB, free: 41.25 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009463/7.7, allocations: 0.5779 MB / 3.46 GB, free: 40.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/7.7, allocations: 4 kB / 3.46 GB, free: 40.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/7.7, allocations: 214 kB / 3.46 GB, free: 40.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/7.7, allocations: 63.91 kB / 3.46 GB, free: 40.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/7.703, allocations: 2.751 MB / 3.463 GB, free: 37.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/7.704, allocations: 79.69 kB / 3.463 GB, free: 37.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/7.704, allocations: 27.98 kB / 3.463 GB, free: 37.42 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 (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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/7.704, allocations: 120.9 kB / 3.463 GB, free: 37.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/7.704, allocations: 94.78 kB / 3.463 GB, free: 37.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009815/7.705, allocations: 0.6631 MB / 3.464 GB, free: 36.53 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/7.705, allocations: 3.906 kB / 3.464 GB, free: 36.52 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/7.705, allocations: 4 kB / 3.464 GB, free: 36.52 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/7.705, allocations: 3.984 kB / 3.464 GB, free: 36.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/7.708, allocations: 1.47 MB / 3.465 GB, free: 34.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/7.708, allocations: 4 kB / 3.465 GB, free: 34.97 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/7.708, allocations: 28.2 kB / 3.465 GB, free: 34.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003225/7.708, allocations: 215.8 kB / 3.466 GB, free: 34.73 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/7.708, allocations: 7.984 kB / 3.466 GB, free: 34.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008867/7.709, allocations: 1.095 MB / 3.467 GB, free: 33.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/7.709, allocations: 7.938 kB / 3.467 GB, free: 33.6 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008617/7.71, allocations: 0.8511 MB / 3.468 GB, free: 32.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/7.71, allocations: 207.9 kB / 3.468 GB, free: 32.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/7.71, allocations: 7.984 kB / 3.468 GB, free: 32.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/7.711, allocations: 55.8 kB / 3.468 GB, free: 32.38 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/7.711, allocations: 31.83 kB / 3.468 GB, free: 32.35 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/7.711, allocations: 19.89 kB / 3.468 GB, free: 32.33 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000766/7.712, allocations: 0.6847 MB / 3.469 GB, free: 31.63 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001565/7.713, allocations: 483.8 kB / 3.469 GB, free: 31.16 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 (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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/7.715, allocations: 1.114 MB / 3.47 GB, free: 30.05 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001955/7.717, allocations: 1.026 MB / 3.471 GB, free: 29 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/7.717, allocations: 0 / 3.471 GB, free: 29 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004911/7.717, allocations: 263.5 kB / 3.471 GB, free: 28.74 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/7.719, allocations: 378.4 kB / 3.472 GB, free: 28.38 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/7.721, allocations: 1.394 MB / 3.473 GB, free: 26.92 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006556/7.722, allocations: 1.259 MB / 3.474 GB, free: 25.64 MB / 0.6667 GB Notification: Performance of SimCode: time 2.7e-07/7.722, allocations: 0 / 3.474 GB, free: 25.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.03735/7.759, allocations: 23.03 MB / 3.497 GB, free: 2.746 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)