Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [: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.001774/0.001774, allocations: 173.1 kB / 7.448 MB, free: 2.312 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6038/0.6038, 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.154/1.154, allocations: 221.4 MB / 395 MB, free: 10.24 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.0009053/0.0009054, allocations: 94.22 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.422e-06, allocations: 2.969 kB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.722/2.84, allocations: 1.832 GB / 2.465 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/2.84, allocations: 87.94 kB / 2.465 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.995/7.835, allocations: 1.998 GB / 4.463 GB, free: 168 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000109/7.836, allocations: 36.72 kB / 4.463 GB, free: 168 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003626/7.839, allocations: 1.35 MB / 4.464 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/7.839, allocations: 10.19 kB / 4.464 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009695/7.84, allocations: 204.7 kB / 4.464 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/7.843, allocations: 1.433 MB / 4.466 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/7.843, allocations: 18.75 kB / 4.466 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/7.843, allocations: 39.38 kB / 4.466 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008512/7.844, allocations: 0.7245 MB / 4.466 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/7.845, allocations: 0.8604 MB / 4.467 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/7.845, allocations: 7.469 kB / 4.467 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/7.845, allocations: 3.375 kB / 4.467 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/7.845, allocations: 18.16 kB / 4.467 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/7.848, allocations: 4.706 MB / 4.472 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/7.849, allocations: 0.5293 MB / 4.472 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/7.849, allocations: 448.6 kB / 4.473 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/7.849, allocations: 202.8 kB / 4.473 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/7.85, allocations: 297.9 kB / 4.473 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/7.85, allocations: 3.5 kB / 4.473 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.001616/7.851, allocations: 0.9492 MB / 4.474 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/7.851, allocations: 86.58 kB / 4.474 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/7.852, allocations: 0.9162 MB / 4.475 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/7.852, allocations: 25.7 kB / 4.475 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/7.852, allocations: 359.1 kB / 4.476 GB, free: 163 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/7.852, allocations: 109.9 kB / 4.476 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/7.853, allocations: 0 / 4.476 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.05e-05/7.853, allocations: 334.4 kB / 4.476 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/7.853, allocations: 227 kB / 4.476 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/7.853, allocations: 0.5532 MB / 4.477 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/7.853, allocations: 314.3 kB / 4.477 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/7.853, allocations: 3.969 kB / 4.477 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00149/7.855, allocations: 1.077 MB / 4.478 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002589/7.855, allocations: 2.106 MB / 4.48 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/7.855, allocations: 10.53 kB / 4.48 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/7.856, allocations: 327.3 kB / 4.481 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/7.856, allocations: 65.89 kB / 4.481 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/7.857, allocations: 1.352 MB / 4.482 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008787/7.858, allocations: 121.3 kB / 4.482 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/7.858, allocations: 22.56 kB / 4.482 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-06/7.858, allocations: 3.219 kB / 4.482 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/7.859, allocations: 0.7561 MB / 4.483 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/7.859, allocations: 7.516 kB / 4.483 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006846/7.86, allocations: 316.1 kB / 4.483 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/7.86, allocations: 62.09 kB / 4.483 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/7.863, allocations: 3.435 MB / 4.487 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/7.864, allocations: 102.8 kB / 4.487 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/7.864, allocations: 28.09 kB / 4.487 GB, free: 158 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001145/7.864, allocations: 129.5 kB / 4.487 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/7.864, allocations: 100.6 kB / 4.487 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/7.865, allocations: 0.8467 MB / 4.488 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/7.865, allocations: 5.5 kB / 4.488 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/7.865, allocations: 0 / 4.488 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/7.866, allocations: 2.391 kB / 4.488 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/7.867, allocations: 1.781 MB / 4.489 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/7.868, allocations: 7.281 kB / 4.489 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/7.868, allocations: 22.05 kB / 4.489 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/7.868, allocations: 296 kB / 4.49 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/7.868, allocations: 6.969 kB / 4.49 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008024/7.869, allocations: 1.2 MB / 4.491 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/7.869, allocations: 3.938 kB / 4.491 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009482/7.87, allocations: 1.059 MB / 4.492 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/7.87, allocations: 226.7 kB / 4.492 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/7.87, allocations: 7.281 kB / 4.492 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/7.871, allocations: 78.22 kB / 4.492 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/7.871, allocations: 31.97 kB / 4.492 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/7.871, allocations: 14.44 kB / 4.492 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006095/7.872, allocations: 0.7148 MB / 4.493 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001348/7.873, allocations: 0.5556 MB / 4.494 GB, free: 156.1 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/7.874, allocations: 1.22 MB / 4.495 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001344/7.876, allocations: 1.074 MB / 4.496 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/7.876, allocations: 0 / 4.496 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003568/7.876, allocations: 264.1 kB / 4.496 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/7.878, allocations: 0.5688 MB / 4.497 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/7.88, allocations: 1.487 MB / 4.498 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/7.881, allocations: 1.293 MB / 4.499 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/7.881, allocations: 0 / 4.499 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.03382/7.915, allocations: 27.37 MB / 4.526 GB, free: 153.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)