Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [: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.001805/0.001805, allocations: 179.8 kB / 7.464 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.5937/0.5937, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.128/1.128, 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.0008733/0.0008732, allocations: 101.2 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/7.133e-06, allocations: 2.406 kB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.618/2.743, allocations: 1.831 GB / 2.465 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/2.743, allocations: 91.88 kB / 2.465 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.454/7.197, allocations: 1.802 GB / 4.267 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.228e-05/7.197, allocations: 30.73 kB / 4.267 GB, free: 163.5 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001697/7.199, allocations: 1.133 MB / 4.268 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/7.199, allocations: 8.031 kB / 4.268 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/7.2, allocations: 186.5 kB / 4.268 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/7.202, allocations: 1.089 MB / 4.269 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/7.202, allocations: 16 kB / 4.269 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/7.202, allocations: 36 kB / 4.269 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006002/7.203, allocations: 497.7 kB / 4.27 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006966/7.203, allocations: 0.6825 MB / 4.27 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/7.203, allocations: 7.938 kB / 4.27 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/7.203, allocations: 7.922 kB / 4.27 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/7.203, allocations: 16 kB / 4.27 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/7.206, allocations: 4.66 MB / 4.275 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/7.207, allocations: 453.2 kB / 4.275 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/7.207, allocations: 253.5 kB / 4.275 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/7.207, allocations: 194.2 kB / 4.276 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/7.207, allocations: 272.8 kB / 4.276 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.422e-06/7.207, allocations: 0 / 4.276 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0007587/7.208, allocations: 499.9 kB / 4.276 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/7.208, allocations: 89.09 kB / 4.276 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/7.209, allocations: 0.8791 MB / 4.277 GB, free: 152 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/7.209, allocations: 33.64 kB / 4.277 GB, free: 152 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/7.209, allocations: 328.2 kB / 4.278 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/7.209, allocations: 106.5 kB / 4.278 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/7.209, allocations: 0 / 4.278 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.193e-05/7.209, allocations: 326 kB / 4.278 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/7.209, allocations: 192.8 kB / 4.278 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/7.21, allocations: 0.5036 MB / 4.279 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/7.21, allocations: 283.2 kB / 4.279 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/7.21, allocations: 3.906 kB / 4.279 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006689/7.211, allocations: 0.6257 MB / 4.28 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003003/7.211, allocations: 2.093 MB / 4.282 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/7.211, allocations: 15.83 kB / 4.282 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/7.211, allocations: 12 kB / 4.282 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/7.211, allocations: 111.8 kB / 4.282 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/7.211, allocations: 11.94 kB / 4.282 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/7.212, allocations: 83.53 kB / 4.282 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/7.212, allocations: 27.98 kB / 4.282 GB, free: 147 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-06/7.212, allocations: 4.938 kB / 4.282 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00045/7.213, allocations: 415.4 kB / 4.282 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/7.213, allocations: 4 kB / 4.282 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/7.213, allocations: 11.94 kB / 4.282 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/7.213, allocations: 116.5 kB / 4.282 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/7.213, allocations: 11.94 kB / 4.282 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/7.214, allocations: 75.62 kB / 4.283 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/7.214, allocations: 23.98 kB / 4.283 GB, free: 146.3 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/7.214, allocations: 136.6 kB / 4.283 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/7.214, allocations: 95.11 kB / 4.283 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/7.214, allocations: 462.5 kB / 4.283 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/7.214, allocations: 4 kB / 4.283 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/7.214, allocations: 0 / 4.283 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/7.214, allocations: 4 kB / 4.283 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/7.216, allocations: 1.272 MB / 4.285 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/7.216, allocations: 7.984 kB / 4.285 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/7.216, allocations: 80.02 kB / 4.285 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/7.216, allocations: 4 kB / 4.285 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/7.216, allocations: 11.92 kB / 4.285 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/7.216, allocations: 0 / 4.285 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/7.216, allocations: 7.938 kB / 4.285 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004323/7.216, allocations: 0.6361 MB / 4.285 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/7.217, allocations: 211.8 kB / 4.285 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/7.217, allocations: 4 kB / 4.285 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/7.217, allocations: 51.8 kB / 4.285 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/7.217, allocations: 43.67 kB / 4.286 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/7.217, allocations: 11.98 kB / 4.286 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005514/7.218, allocations: 0.6806 MB / 4.286 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009618/7.219, allocations: 447 kB / 4.287 GB, free: 142 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000992/7.22, allocations: 1.026 MB / 4.288 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007046/7.221, allocations: 0.7314 MB / 4.288 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/7.221, allocations: 0 / 4.288 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/7.221, allocations: 190.5 kB / 4.289 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/7.222, allocations: 382.5 kB / 4.289 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/7.224, allocations: 1.386 MB / 4.29 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/7.225, allocations: 1.271 MB / 4.291 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/7.225, allocations: 0 / 4.291 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02608/7.251, allocations: 21.2 MB / 4.312 GB, free: 116.1 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)