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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01003/0.01003, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7846/0.7846, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.472/1.472, allocations: 223.2 MB / 406.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 97.75 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/0.53, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9053/1.435, allocations: 364.6 MB / 1.006 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.436, allocations: 102.1 kB / 1.006 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.965/3.4, allocations: 490.9 MB / 1.485 GB, free: 92.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.465e-06/3.4, allocations: 0 / 1.485 GB, free: 92.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001705/3.401, allocations: 43.33 kB / 1.485 GB, free: 92.04 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.004469/3.405, allocations: 1.971 MB / 1.487 GB, free: 90.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/3.405, allocations: 8.031 kB / 1.487 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/3.406, allocations: 237.8 kB / 1.487 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/3.41, allocations: 1.975 MB / 1.489 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/3.41, allocations: 66 kB / 1.489 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/3.411, allocations: 91.94 kB / 1.489 GB, free: 87.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/3.412, allocations: 0.953 MB / 1.49 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/3.412, allocations: 3.938 kB / 1.49 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/3.412, allocations: 32 kB / 1.49 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/3.412, allocations: 24 kB / 1.49 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/3.413, allocations: 0.7103 MB / 1.491 GB, free: 85.87 MB / 0.6823 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.004901/3.418, allocations: 4.601 MB / 1.495 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/3.419, allocations: 0.5912 MB / 1.496 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00224/3.422, allocations: 1.703 MB / 1.498 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000606/3.422, allocations: 346.2 kB / 1.498 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004507/3.423, allocations: 115.4 kB / 1.498 GB, free: 78.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 2.925e-06/3.423, allocations: 0 / 1.498 GB, free: 78.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.002311/3.425, allocations: 1.12 MB / 1.499 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/3.425, allocations: 55.41 kB / 1.499 GB, free: 76.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/3.426, allocations: 1.127 MB / 1.5 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/3.426, allocations: 41.64 kB / 1.5 GB, free: 75.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/3.427, allocations: 0.6452 MB / 1.501 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/3.427, allocations: 162.2 kB / 1.501 GB, free: 74.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/3.427, allocations: 12 kB / 1.501 GB, free: 74.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/3.427, allocations: 338 kB / 1.502 GB, free: 74.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/3.427, allocations: 233.8 kB / 1.502 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/3.428, allocations: 0.5786 MB / 1.502 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/3.429, allocations: 353.4 kB / 1.503 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/3.429, allocations: 4 kB / 1.503 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00159/3.43, allocations: 1.011 MB / 1.504 GB, free: 72.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005674/3.431, allocations: 3.053 MB / 1.507 GB, free: 69.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/3.431, allocations: 8 kB / 1.507 GB, free: 69.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/3.431, allocations: 131.5 kB / 1.507 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/3.432, allocations: 158.7 kB / 1.507 GB, free: 68.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005503/3.432, allocations: 0.7613 MB / 1.508 GB, free: 67.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009805/3.433, allocations: 87.84 kB / 1.508 GB, free: 67.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/3.433, allocations: 39.98 kB / 1.508 GB, free: 67.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/3.433, allocations: 5.25 kB / 1.508 GB, free: 67.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001348/3.435, allocations: 0.9205 MB / 1.509 GB, free: 66.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/3.435, allocations: 7.984 kB / 1.509 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/3.435, allocations: 100.8 kB / 1.509 GB, free: 66.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/3.435, allocations: 148.2 kB / 1.509 GB, free: 66.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/3.437, allocations: 2.232 MB / 1.511 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/3.438, allocations: 75.8 kB / 1.511 GB, free: 64.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/3.438, allocations: 39.98 kB / 1.511 GB, free: 64.12 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 () * Number of clocked 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.0007782/3.439, allocations: 489 kB / 1.512 GB, free: 63.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/3.439, allocations: 130.2 kB / 1.512 GB, free: 63.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/3.44, allocations: 0.8771 MB / 1.513 GB, free: 62.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/3.44, allocations: 11.94 kB / 1.513 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/3.44, allocations: 3.953 kB / 1.513 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/3.442, allocations: 0.8845 MB / 1.514 GB, free: 61.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/3.444, allocations: 1.873 MB / 1.515 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/3.444, allocations: 0 / 1.515 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/3.445, allocations: 87.94 kB / 1.515 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/3.445, allocations: 122.3 kB / 1.516 GB, free: 59.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/3.445, allocations: 15.98 kB / 1.516 GB, free: 59.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004216/3.445, allocations: 0.7474 MB / 1.516 GB, free: 58.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/3.445, allocations: 3.938 kB / 1.516 GB, free: 58.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/3.447, allocations: 1.232 MB / 1.518 GB, free: 57.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/3.448, allocations: 275.3 kB / 1.518 GB, free: 57.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/3.448, allocations: 12 kB / 1.518 GB, free: 57.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/3.448, allocations: 67.94 kB / 1.518 GB, free: 57.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/3.448, allocations: 43.12 kB / 1.518 GB, free: 57.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/3.449, allocations: 23.98 kB / 1.518 GB, free: 57.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009642/3.45, allocations: 0.8819 MB / 1.519 GB, free: 56.15 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/3.45, allocations: 0 / 1.519 GB, free: 56.15 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002126/3.452, allocations: 0.7214 MB / 1.52 GB, free: 55.43 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) * Number of clocked states: 0 () * 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.001302/3.453, allocations: 0.7699 MB / 1.52 GB, free: 54.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002353/3.455, allocations: 1.311 MB / 1.522 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/3.455, allocations: 256 / 1.522 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006128/3.456, allocations: 330.3 kB / 1.522 GB, free: 53.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/3.458, allocations: 0.5604 MB / 1.522 GB, free: 52.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/3.462, allocations: 2.694 MB / 1.525 GB, free: 49.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/3.462, allocations: 1.302 MB / 1.526 GB, free: 48.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001175/3.463, allocations: 312.8 kB / 1.527 GB, free: 48.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/3.464, allocations: 107.4 kB / 1.527 GB, free: 48.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/3.464, allocations: 0 / 1.527 GB, free: 48.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.04235/3.506, allocations: 27.61 MB / 1.554 GB, free: 20.96 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)