Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") translateModel(Annex60.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3") [: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/Annex60 1.0.0/package.mo): time 0.3066/0.3066, allocations: 54.4 MB / 61.67 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001125/0.001125, allocations: 187 kB / 75.38 MB, free: 1.465 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.395/1.395, allocations: 194.2 MB / 283.2 MB, free: 3.504 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001698/0.001698, allocations: 99.67 kB / 341.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.923e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 57.65 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8154/0.9496, allocations: 347.9 MB / 0.7915 GB, free: 44.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.9499, allocations: 95.86 kB / 0.7915 GB, free: 44.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.572/3.522, allocations: 0.6619 GB / 1.453 GB, free: 70.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003674/3.523, allocations: 53.38 kB / 1.453 GB, free: 70.61 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.006133/3.529, allocations: 1.814 MB / 1.455 GB, free: 69.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/3.529, allocations: 11.38 kB / 1.455 GB, free: 69.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/3.532, allocations: 345.5 kB / 1.456 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007498/3.539, allocations: 2.509 MB / 1.458 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/3.539, allocations: 35.69 kB / 1.458 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/3.54, allocations: 63.53 kB / 1.458 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002232/3.542, allocations: 0.8767 MB / 1.459 GB, free: 69.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/3.544, allocations: 1.139 MB / 1.46 GB, free: 69.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/3.544, allocations: 5.203 kB / 1.46 GB, free: 69.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.445e-05/3.544, allocations: 3.906 kB / 1.46 GB, free: 69.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/3.544, allocations: 25.94 kB / 1.46 GB, free: 69.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008/3.552, allocations: 6.892 MB / 1.467 GB, free: 64.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/3.553, allocations: 432.1 kB / 1.467 GB, free: 64.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/3.553, allocations: 358.9 kB / 1.468 GB, free: 64.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/3.555, allocations: 1.39 MB / 1.469 GB, free: 64.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000448/3.556, allocations: 360.2 kB / 1.469 GB, free: 64.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/3.556, allocations: 0 / 1.469 GB, free: 64.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.007221/3.563, allocations: 2.23 MB / 1.472 GB, free: 63.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/3.563, allocations: 136.5 kB / 1.472 GB, free: 63.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/3.565, allocations: 1.359 MB / 1.473 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/3.565, allocations: 29.58 kB / 1.473 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000556/3.565, allocations: 0.5581 MB / 1.474 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/3.566, allocations: 165.2 kB / 1.474 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/3.566, allocations: 0 / 1.474 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/3.566, allocations: 341.4 kB / 1.474 GB, free: 62.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/3.566, allocations: 308.9 kB / 1.474 GB, free: 62.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/3.567, allocations: 0.7625 MB / 1.475 GB, free: 61.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/3.568, allocations: 473.2 kB / 1.476 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/3.568, allocations: 3.969 kB / 1.476 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003962/3.572, allocations: 1.363 MB / 1.477 GB, free: 61.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/3.573, allocations: 4.431 MB / 1.481 GB, free: 56.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/3.573, allocations: 17.25 kB / 1.481 GB, free: 56.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/3.574, allocations: 244.8 kB / 1.481 GB, free: 56.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/3.574, allocations: 182.9 kB / 1.482 GB, free: 56.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/3.576, allocations: 0.9888 MB / 1.483 GB, free: 56.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/3.578, allocations: 99.7 kB / 1.483 GB, free: 56.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/3.578, allocations: 57.14 kB / 1.483 GB, free: 56.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/3.578, allocations: 3.5 kB / 1.483 GB, free: 56.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002172/3.58, allocations: 0.9707 MB / 1.484 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/3.58, allocations: 11.16 kB / 1.484 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/3.58, allocations: 115.9 kB / 1.484 GB, free: 56.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/3.581, allocations: 176.6 kB / 1.484 GB, free: 56.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/3.583, allocations: 1.993 MB / 1.486 GB, free: 54.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/3.585, allocations: 77.42 kB / 1.486 GB, free: 54.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/3.585, allocations: 46.58 kB / 1.486 GB, free: 54.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004098/3.585, allocations: 141.5 kB / 1.486 GB, free: 54.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004987/3.586, allocations: 157 kB / 1.486 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/3.59, allocations: 1.214 MB / 1.487 GB, free: 54.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/3.59, allocations: 13.75 kB / 1.488 GB, free: 54.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/3.59, allocations: 3.906 kB / 1.488 GB, free: 54.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002863/3.593, allocations: 1.124 MB / 1.489 GB, free: 54.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007132/3.6, allocations: 2.27 MB / 1.491 GB, free: 53.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/3.6, allocations: 0 / 1.491 GB, free: 53.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/3.6, allocations: 90.53 kB / 1.491 GB, free: 53.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005597/3.601, allocations: 277 kB / 1.491 GB, free: 53.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/3.601, allocations: 18.81 kB / 1.491 GB, free: 53.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006022/3.607, allocations: 3.52 MB / 1.495 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/3.607, allocations: 3.156 kB / 1.495 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004066/3.611, allocations: 1.598 MB / 1.496 GB, free: 51.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/3.612, allocations: 303.4 kB / 1.496 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006079/3.613, allocations: 11.33 kB / 1.496 GB, free: 51.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/3.615, allocations: 86.31 kB / 1.497 GB, free: 51.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/3.615, allocations: 41.19 kB / 1.497 GB, free: 51.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.553e-05/3.615, allocations: 30.23 kB / 1.497 GB, free: 51.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002087/3.617, allocations: 1.042 MB / 1.498 GB, free: 51.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005456/3.622, allocations: 0.7855 MB / 1.498 GB, free: 51.51 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002619/3.625, allocations: 0.7717 MB / 1.499 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003069/3.628, allocations: 1.438 MB / 1.501 GB, free: 51.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/3.628, allocations: 3.828 kB / 1.501 GB, free: 51.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/3.629, allocations: 0.4965 MB / 1.501 GB, free: 51.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/3.633, allocations: 0.5819 MB / 1.502 GB, free: 51.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/3.639, allocations: 2.318 MB / 1.504 GB, free: 50.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/3.641, allocations: 1.656 MB / 1.506 GB, free: 49.74 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/3.641, allocations: 0 / 1.506 GB, free: 49.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.06671/3.707, allocations: 36.55 MB / 1.541 GB, free: 47.89 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example3.pipe 2>&1)