Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7602/0.7602, allocations: 130.5 MB / 143.8 MB, free: 13.6 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.453/1.453, allocations: 221.3 MB / 396.8 MB, free: 9.152 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.0009323/0.0009326, allocations: 91.91 kB / 478.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.039e-05, allocations: 2.812 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.419, allocations: 364.3 MB / 0.9905 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.42, allocations: 91.17 kB / 0.9906 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.347/2.767, allocations: 489 MB / 1.468 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.873e-06/2.767, allocations: 0 / 1.468 GB, free: 30.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001547/2.767, allocations: 39.98 kB / 1.468 GB, free: 30.69 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.003236/2.77, allocations: 1.528 MB / 1.47 GB, free: 29.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/2.77, allocations: 8.031 kB / 1.47 GB, free: 29.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/2.771, allocations: 237.9 kB / 1.47 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/2.776, allocations: 1.945 MB / 1.472 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/2.776, allocations: 66 kB / 1.472 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/2.776, allocations: 80 kB / 1.472 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/2.777, allocations: 0.9218 MB / 1.473 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/2.777, allocations: 0 / 1.473 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.962e-05/2.777, allocations: 39.95 kB / 1.473 GB, free: 25.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/2.777, allocations: 20 kB / 1.473 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/2.778, allocations: 0.6325 MB / 1.474 GB, free: 25.07 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.005326/2.784, allocations: 4.622 MB / 1.478 GB, free: 20.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/2.785, allocations: 0.5296 MB / 1.479 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/2.785, allocations: 288.3 kB / 1.479 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/2.787, allocations: 1.71 MB / 1.481 GB, free: 17.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/2.788, allocations: 318.2 kB / 1.481 GB, free: 17.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004674/2.788, allocations: 107.5 kB / 1.481 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 2.525e-06/2.788, allocations: 0 / 1.481 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.00105/2.789, allocations: 0.6525 MB / 1.482 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/2.789, allocations: 55.41 kB / 1.482 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/2.79, allocations: 1.11 MB / 1.483 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/2.791, allocations: 41.7 kB / 1.483 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/2.791, allocations: 0.6451 MB / 1.483 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/2.791, allocations: 165.7 kB / 1.484 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/2.791, allocations: 12 kB / 1.484 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/2.791, allocations: 338 kB / 1.484 GB, free: 14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/2.791, allocations: 201.5 kB / 1.484 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/2.792, allocations: 0.5376 MB / 1.485 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/2.792, allocations: 321.2 kB / 1.485 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/2.792, allocations: 4 kB / 1.485 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001246/2.794, allocations: 0.9422 MB / 1.486 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005229/2.794, allocations: 3.05 MB / 1.489 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/2.794, allocations: 12 kB / 1.489 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/2.794, allocations: 136.8 kB / 1.489 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/2.795, allocations: 147.8 kB / 1.489 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005593/2.796, allocations: 0.7629 MB / 1.49 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/2.796, allocations: 83.84 kB / 1.49 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/2.797, allocations: 47.94 kB / 1.49 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/2.797, allocations: 4 kB / 1.49 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001095/2.798, allocations: 0.8469 MB / 1.491 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/2.798, allocations: 12.03 kB / 1.491 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/2.798, allocations: 111.6 kB / 1.491 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/2.798, allocations: 139.7 kB / 1.491 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/2.8, allocations: 2.2 MB / 1.493 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/2.801, allocations: 79.97 kB / 1.493 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/2.801, allocations: 39.94 kB / 1.493 GB, free: 3.754 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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.0001726/2.801, allocations: 154.7 kB / 1.493 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/2.801, allocations: 126.5 kB / 1.494 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/2.803, allocations: 0.8392 MB / 1.494 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/2.803, allocations: 4 kB / 1.494 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/2.803, allocations: 0 / 1.494 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008789/2.803, allocations: 0.8163 MB / 1.495 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4359/3.239, allocations: 1.811 MB / 1.497 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/3.239, allocations: 0.9688 kB / 1.497 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/3.24, allocations: 83.08 kB / 1.497 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003088/3.24, allocations: 128.4 kB / 1.497 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/3.24, allocations: 16.41 kB / 1.497 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005637/3.241, allocations: 0.7509 MB / 1.498 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/3.241, allocations: 1.219 kB / 1.498 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/3.243, allocations: 1.143 MB / 1.499 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006489/3.244, allocations: 275.2 kB / 1.499 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/3.244, allocations: 9.625 kB / 1.499 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/3.244, allocations: 72.3 kB / 1.499 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/3.245, allocations: 42.08 kB / 1.499 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/3.245, allocations: 19.83 kB / 1.499 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001409/3.246, allocations: 0.8732 MB / 1.5 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.91e-07/3.246, allocations: 0.6562 kB / 1.5 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002496/3.249, allocations: 0.7235 MB / 1.501 GB, free: 133.8 MB / 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 (41): * Single equations (assignments): 35 * 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.001463/3.25, allocations: 0.7509 MB / 1.502 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002036/3.252, allocations: 1.279 MB / 1.503 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/3.252, allocations: 1.219 kB / 1.503 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005401/3.253, allocations: 292.3 kB / 1.503 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/3.255, allocations: 0.5648 MB / 1.504 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/3.258, allocations: 1.693 MB / 1.505 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008587/3.259, allocations: 1.306 MB / 1.507 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001934/3.261, allocations: 0.5668 MB / 1.507 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/3.261, allocations: 76.61 kB / 1.507 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/3.261, allocations: 0 / 1.507 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.05446/3.315, allocations: 31.13 MB / 1.538 GB, free: 131.6 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)