Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [: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.001734/0.001734, allocations: 173.8 kB / 7.458 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5948/0.5948, allocations: 133.5 MB / 141.4 MB, free: 15.63 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.116/1.116, allocations: 221.3 MB / 395 MB, free: 10.11 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.0007908/0.0007907, allocations: 99.98 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.204e-06, allocations: 2.812 kB / 0.5528 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 82.31 MB / 0.6332 GB, free: 13.81 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.689/2.795, allocations: 1.831 GB / 2.465 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/2.795, allocations: 91.94 kB / 2.465 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.689/5.485, allocations: 1.08 GB / 3.545 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.834e-05/5.485, allocations: 31.98 kB / 3.545 GB, free: 91.04 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.003452/5.488, allocations: 1.346 MB / 3.546 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/5.488, allocations: 12.02 kB / 3.546 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008437/5.489, allocations: 202.3 kB / 3.547 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/5.492, allocations: 1.429 MB / 3.548 GB, free: 87.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/5.492, allocations: 16 kB / 3.548 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/5.492, allocations: 44 kB / 3.548 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008213/5.493, allocations: 0.7209 MB / 3.549 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008736/5.494, allocations: 0.8755 MB / 3.55 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/5.494, allocations: 0 / 3.55 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/5.494, allocations: 4 kB / 3.55 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/5.494, allocations: 16 kB / 3.55 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/5.497, allocations: 4.727 MB / 3.554 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/5.497, allocations: 0.5236 MB / 3.555 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/5.498, allocations: 445.2 kB / 3.555 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/5.498, allocations: 194.5 kB / 3.555 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/5.498, allocations: 309 kB / 3.556 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/5.498, allocations: 0 / 3.556 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.001661/5.5, allocations: 0.9628 MB / 3.557 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/5.5, allocations: 85.09 kB / 3.557 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/5.501, allocations: 0.9178 MB / 3.558 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/5.501, allocations: 25.7 kB / 3.558 GB, free: 77.58 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/5.501, allocations: 364.3 kB / 3.558 GB, free: 77.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/5.501, allocations: 114.3 kB / 3.558 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/5.501, allocations: 0 / 3.558 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.22e-05/5.501, allocations: 330 kB / 3.558 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/5.501, allocations: 224.9 kB / 3.559 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/5.502, allocations: 0.5536 MB / 3.559 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/5.502, allocations: 321.7 kB / 3.559 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/5.502, allocations: 4 kB / 3.559 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001537/5.504, allocations: 1.079 MB / 3.561 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002699/5.504, allocations: 2.108 MB / 3.563 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/5.504, allocations: 4 kB / 3.563 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/5.505, allocations: 365.3 kB / 3.563 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/5.505, allocations: 59.91 kB / 3.563 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/5.506, allocations: 1.427 MB / 3.564 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/5.507, allocations: 115.4 kB / 3.564 GB, free: 70.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/5.507, allocations: 31.98 kB / 3.565 GB, free: 70.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/5.507, allocations: 5.406 kB / 3.565 GB, free: 70.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001088/5.508, allocations: 0.7624 MB / 3.565 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/5.508, allocations: 7.938 kB / 3.565 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/5.509, allocations: 305.9 kB / 3.566 GB, free: 69.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/5.509, allocations: 71.89 kB / 3.566 GB, free: 69.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/5.513, allocations: 3.468 MB / 3.569 GB, free: 65.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/5.513, allocations: 103.6 kB / 3.569 GB, free: 65.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/5.513, allocations: 24 kB / 3.569 GB, free: 65.32 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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.000116/5.513, allocations: 125 kB / 3.569 GB, free: 65.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/5.514, allocations: 98.78 kB / 3.569 GB, free: 65.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/5.515, allocations: 0.8546 MB / 3.57 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/5.515, allocations: 7.984 kB / 3.57 GB, free: 64.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/5.515, allocations: 0 / 3.57 GB, free: 64.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/5.515, allocations: 4 kB / 3.57 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/5.516, allocations: 1.778 MB / 3.572 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/5.516, allocations: 4 kB / 3.572 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/5.517, allocations: 27.98 kB / 3.572 GB, free: 62.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/5.517, allocations: 320.6 kB / 3.572 GB, free: 62.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/5.517, allocations: 11.91 kB / 3.572 GB, free: 62.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009397/5.518, allocations: 1.268 MB / 3.574 GB, free: 60.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/5.518, allocations: 4 kB / 3.574 GB, free: 60.72 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009163/5.519, allocations: 1.03 MB / 3.575 GB, free: 59.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/5.519, allocations: 239.7 kB / 3.575 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/5.519, allocations: 7.984 kB / 3.575 GB, free: 59.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/5.52, allocations: 83.69 kB / 3.575 GB, free: 59.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/5.52, allocations: 27.95 kB / 3.575 GB, free: 59.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/5.52, allocations: 23.98 kB / 3.575 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005831/5.521, allocations: 0.7178 MB / 3.576 GB, free: 58.49 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001228/5.522, allocations: 0.55 MB / 3.576 GB, free: 57.94 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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/5.523, allocations: 1.206 MB / 3.577 GB, free: 56.72 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001788/5.525, allocations: 1.176 MB / 3.578 GB, free: 55.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/5.525, allocations: 0 / 3.578 GB, free: 55.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004845/5.525, allocations: 336.9 kB / 3.579 GB, free: 55.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/5.528, allocations: 0.5662 MB / 3.579 GB, free: 54.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/5.53, allocations: 1.491 MB / 3.581 GB, free: 53.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000535/5.53, allocations: 1.292 MB / 3.582 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/5.53, allocations: 0 / 3.582 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.03181/5.562, allocations: 26.95 MB / 3.608 GB, free: 24.97 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)