Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") [: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.002021/0.002021, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5943/0.5943, 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.124/1.124, allocations: 221.3 MB / 395 MB, free: 10.2 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.000801/0.000801, allocations: 98.38 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.66e-06/5.68e-06, allocations: 3.812 kB / 0.5528 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7385/0.8569, allocations: 363.8 MB / 0.9885 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.8571, allocations: 92.67 kB / 0.9886 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.034/1.891, allocations: 488.7 MB / 1.466 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001603/1.891, allocations: 39.59 kB / 1.466 GB, free: 33.84 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002609/1.894, allocations: 1.514 MB / 1.467 GB, free: 32.29 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/1.894, allocations: 8.031 kB / 1.467 GB, free: 32.28 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/1.895, allocations: 253.8 kB / 1.468 GB, free: 32.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/1.899, allocations: 1.978 MB / 1.47 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/1.899, allocations: 24 kB / 1.47 GB, free: 30.01 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/1.899, allocations: 52 kB / 1.47 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009315/1.9, allocations: 0.6325 MB / 1.47 GB, free: 29.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/1.901, allocations: 0.8203 MB / 1.471 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/1.901, allocations: 0 / 1.471 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/1.901, allocations: 8 kB / 1.471 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/1.901, allocations: 16 kB / 1.471 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/1.905, allocations: 4.559 MB / 1.476 GB, free: 23.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/1.906, allocations: 0.5466 MB / 1.476 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/1.906, allocations: 306.9 kB / 1.476 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/1.908, allocations: 1.748 MB / 1.478 GB, free: 20.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/1.909, allocations: 285.9 kB / 1.478 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 1.784e-06/1.909, allocations: 0 / 1.478 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001416/1.91, allocations: 0.7378 MB / 1.479 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/1.91, allocations: 63.39 kB / 1.479 GB, free: 19.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/1.911, allocations: 1.011 MB / 1.48 GB, free: 18.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/1.911, allocations: 33.64 kB / 1.48 GB, free: 18.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/1.911, allocations: 424.2 kB / 1.481 GB, free: 18.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.911, allocations: 157.8 kB / 1.481 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/1.911, allocations: 4 kB / 1.481 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/1.911, allocations: 337.9 kB / 1.481 GB, free: 17.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/1.912, allocations: 217.5 kB / 1.481 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/1.912, allocations: 0.543 MB / 1.482 GB, free: 16.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/1.913, allocations: 363.2 kB / 1.482 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.913, allocations: 4 kB / 1.482 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001581/1.914, allocations: 0.9509 MB / 1.483 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003723/1.915, allocations: 2.922 MB / 1.486 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1.915, allocations: 8 kB / 1.486 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/1.915, allocations: 120.3 kB / 1.486 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/1.916, allocations: 147.8 kB / 1.486 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005766/1.916, allocations: 0.8175 MB / 1.487 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/1.917, allocations: 103.2 kB / 1.487 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/1.917, allocations: 47.92 kB / 1.487 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.06e-06/1.917, allocations: 4 kB / 1.487 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0013/1.918, allocations: 0.7973 MB / 1.488 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.918, allocations: 8 kB / 1.488 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/1.918, allocations: 100.8 kB / 1.488 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/1.919, allocations: 151.8 kB / 1.488 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/1.92, allocations: 1.97 MB / 1.49 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/1.921, allocations: 95.66 kB / 1.49 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/1.921, allocations: 32 kB / 1.49 GB, free: 7.926 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.921, allocations: 143.7 kB / 1.49 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/1.921, allocations: 126.5 kB / 1.49 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/1.923, allocations: 0.8639 MB / 1.491 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.923, allocations: 8 kB / 1.491 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/1.923, allocations: 4 kB / 1.491 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008959/1.924, allocations: 0.8293 MB / 1.492 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/1.926, allocations: 1.655 MB / 1.494 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.926, allocations: 0 / 1.494 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/1.926, allocations: 87.88 kB / 1.494 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/1.926, allocations: 100.9 kB / 1.494 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/1.926, allocations: 15.98 kB / 1.494 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004185/1.927, allocations: 0.7713 MB / 1.495 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.927, allocations: 4 kB / 1.495 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001297/1.928, allocations: 1.143 MB / 1.496 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/1.928, allocations: 267.3 kB / 1.496 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.928, allocations: 4 kB / 1.496 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/1.929, allocations: 59.84 kB / 1.496 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/1.929, allocations: 36.38 kB / 1.496 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/1.929, allocations: 27.98 kB / 1.496 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007027/1.93, allocations: 0.7791 MB / 1.497 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00151/1.931, allocations: 0.6932 MB / 1.498 GB, free: 120 kB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.193/2.124, allocations: 0.7316 MB / 1.498 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002002/2.126, allocations: 1.166 MB / 1.499 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/2.126, allocations: 0 / 1.499 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004382/2.127, allocations: 306 kB / 1.5 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/2.129, allocations: 482.7 kB / 1.5 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/2.132, allocations: 1.736 MB / 1.502 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008147/2.133, allocations: 1.407 MB / 1.503 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/2.133, allocations: 4.719 kB / 1.503 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.03851/2.171, allocations: 27.94 MB / 1.531 GB, free: 195.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)