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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4094/0.4094, allocations: 55.02 MB / 69.96 MB, free: 8.68 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.001168/0.001168, allocations: 202.6 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.782/1.782, allocations: 194.4 MB / 292.3 MB, free: 3.613 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.00171/0.00171, allocations: 112.3 kB / 350.7 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004075, allocations: 12 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1336, allocations: 57.66 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9944/1.128, allocations: 348.7 MB / 0.8059 GB, free: 79.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.128, allocations: 94.95 kB / 0.806 GB, free: 79.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.403/3.531, allocations: 0.6645 GB / 1.47 GB, free: 12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.464e-06/3.531, allocations: 3.938 kB / 1.47 GB, free: 12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002654/3.531, allocations: 60.12 kB / 1.471 GB, free: 11.94 MB / 0.5105 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.009006/3.54, allocations: 2.354 MB / 1.473 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/3.54, allocations: 12.03 kB / 1.473 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/3.543, allocations: 329.3 kB / 1.473 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009418/3.553, allocations: 2.494 MB / 1.476 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/3.553, allocations: 82 kB / 1.476 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/3.553, allocations: 112 kB / 1.476 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00478/3.558, allocations: 1.477 MB / 1.477 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/3.558, allocations: 3.938 kB / 1.477 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/3.558, allocations: 40 kB / 1.477 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/3.558, allocations: 24 kB / 1.477 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/3.563, allocations: 1.151 MB / 1.478 GB, free: 3.676 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3828/3.945, allocations: 6.999 MB / 1.485 GB, free: 73.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/3.948, allocations: 0.716 MB / 1.486 GB, free: 73.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002704/3.951, allocations: 1.347 MB / 1.487 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002022/3.953, allocations: 0.5625 MB / 1.488 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/3.954, allocations: 142.5 kB / 1.488 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.427e-06/3.954, allocations: 0 / 1.488 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.01085/3.965, allocations: 3.05 MB / 1.491 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/3.965, allocations: 142.6 kB / 1.491 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/3.967, allocations: 1.555 MB / 1.493 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/3.968, allocations: 46.2 kB / 1.493 GB, free: 71.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006796/3.968, allocations: 0.8534 MB / 1.493 GB, free: 71.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/3.968, allocations: 189.4 kB / 1.494 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/3.968, allocations: 19.62 kB / 1.494 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001075/3.969, allocations: 337.5 kB / 1.494 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008541/3.969, allocations: 360.1 kB / 1.494 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009509/3.97, allocations: 0.8326 MB / 1.495 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/3.971, allocations: 494.8 kB / 1.496 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/3.971, allocations: 3.625 kB / 1.496 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00441/3.976, allocations: 1.541 MB / 1.497 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009191/3.977, allocations: 4.506 MB / 1.502 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/3.977, allocations: 7.938 kB / 1.502 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008655/3.978, allocations: 298.2 kB / 1.502 GB, free: 65.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/3.978, allocations: 191.3 kB / 1.502 GB, free: 65.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/3.98, allocations: 0.9874 MB / 1.503 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/3.982, allocations: 124 kB / 1.503 GB, free: 64.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/3.982, allocations: 51.72 kB / 1.503 GB, free: 64.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/3.982, allocations: 6 kB / 1.503 GB, free: 64.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002003/3.984, allocations: 1.13 MB / 1.504 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/3.984, allocations: 14.25 kB / 1.504 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002595/3.984, allocations: 122.1 kB / 1.504 GB, free: 64.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/3.985, allocations: 184.4 kB / 1.505 GB, free: 64.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/3.987, allocations: 2.146 MB / 1.507 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/3.989, allocations: 98.55 kB / 1.507 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/3.989, allocations: 46.11 kB / 1.507 GB, free: 63.18 MB / 0.5105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 92 * 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.001343/3.991, allocations: 0.5937 MB / 1.507 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004258/3.991, allocations: 173.2 kB / 1.508 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/3.996, allocations: 1.285 MB / 1.509 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/3.996, allocations: 12.12 kB / 1.509 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/3.996, allocations: 1.469 kB / 1.509 GB, free: 62.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003785/4, allocations: 1.239 MB / 1.51 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007554/4.007, allocations: 2.588 MB / 1.513 GB, free: 62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/4.007, allocations: 4.906 kB / 1.513 GB, free: 62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/4.008, allocations: 92.45 kB / 1.513 GB, free: 62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007889/4.008, allocations: 286.1 kB / 1.513 GB, free: 62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/4.009, allocations: 22.05 kB / 1.513 GB, free: 62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007409/4.016, allocations: 3.452 MB / 1.516 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/4.016, allocations: 0 / 1.516 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004982/4.021, allocations: 1.785 MB / 1.518 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/4.022, allocations: 325.2 kB / 1.518 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/4.022, allocations: 21.52 kB / 1.518 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/4.023, allocations: 97.2 kB / 1.518 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/4.024, allocations: 49.73 kB / 1.519 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/4.024, allocations: 30.66 kB / 1.519 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002003/4.026, allocations: 1.221 MB / 1.52 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/4.026, allocations: 0 / 1.52 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003424/4.029, allocations: 0.8636 MB / 1.521 GB, free: 59.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 41 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/4.031, allocations: 0.7921 MB / 1.521 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003537/4.034, allocations: 1.668 MB / 1.523 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/4.034, allocations: 0 / 1.523 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/4.036, allocations: 0.5858 MB / 1.524 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/4.039, allocations: 0.7562 MB / 1.524 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/4.044, allocations: 3.488 MB / 1.528 GB, free: 58.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/4.045, allocations: 1.528 MB / 1.529 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001852/4.047, allocations: 435.3 kB / 1.53 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/4.047, allocations: 134.8 kB / 1.53 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/4.047, allocations: 0 / 1.53 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.05935/4.107, allocations: 37.23 MB / 1.566 GB, free: 55.53 MB / 0.5105 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)