Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.001249, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9001/0.9001, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.0008738/0.0008738, allocations: 107.3 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.039e-05, allocations: 4 kB / 0.5535 GB, free: 9.043 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5351, allocations: 82.3 MB / 0.6338 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.359/5.894, allocations: 1.832 GB / 2.465 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004258/5.895, allocations: 92.61 kB / 2.466 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.396/13.29, allocations: 1.976 GB / 4.441 GB, free: 64.42 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.595e-06/13.29, allocations: 0 / 4.441 GB, free: 64.42 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001112/13.29, allocations: 47.84 kB / 4.441 GB, free: 64.38 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003678/13.29, allocations: 1.272 MB / 4.443 GB, free: 63.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/13.29, allocations: 12.03 kB / 4.443 GB, free: 63.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009514/13.3, allocations: 194.4 kB / 4.443 GB, free: 62.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/13.3, allocations: 1.433 MB / 4.444 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/13.3, allocations: 23.94 kB / 4.444 GB, free: 61.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/13.3, allocations: 40 kB / 4.444 GB, free: 61.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008923/13.3, allocations: 0.7013 MB / 4.445 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009507/13.3, allocations: 0.8454 MB / 4.446 GB, free: 59.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/13.3, allocations: 4 kB / 4.446 GB, free: 59.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/13.3, allocations: 3.938 kB / 4.446 GB, free: 59.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/13.3, allocations: 16 kB / 4.446 GB, free: 59.64 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.003415/13.3, allocations: 4.6 MB / 4.45 GB, free: 54.72 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/13.31, allocations: 4.085 MB / 4.454 GB, free: 49.81 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/13.31, allocations: 340.7 kB / 4.455 GB, free: 49.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/13.31, allocations: 198.8 kB / 4.455 GB, free: 49.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/13.31, allocations: 296.7 kB / 4.455 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003468/13.31, allocations: 11.84 kB / 4.455 GB, free: 48.92 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.124e-06/13.31, allocations: 0 / 4.455 GB, free: 48.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001548/13.31, allocations: 0.8016 MB / 4.456 GB, free: 48.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/13.31, allocations: 85.11 kB / 4.456 GB, free: 48.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/13.31, allocations: 0.8947 MB / 4.457 GB, free: 47.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/13.31, allocations: 33.7 kB / 4.457 GB, free: 47.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/13.31, allocations: 0.5315 MB / 4.457 GB, free: 46.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/13.31, allocations: 118.3 kB / 4.457 GB, free: 46.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/13.31, allocations: 3.938 kB / 4.457 GB, free: 46.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/13.31, allocations: 326 kB / 4.458 GB, free: 46.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/13.31, allocations: 205 kB / 4.458 GB, free: 45.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/13.31, allocations: 0.5354 MB / 4.458 GB, free: 45.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/13.31, allocations: 293.3 kB / 4.459 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/13.31, allocations: 0 / 4.459 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001395/13.31, allocations: 0.9495 MB / 4.46 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004765/13.31, allocations: 2.221 MB / 4.462 GB, free: 41.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/13.31, allocations: 8 kB / 4.462 GB, free: 41.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/13.31, allocations: 224.7 kB / 4.462 GB, free: 41.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/13.31, allocations: 87.67 kB / 4.462 GB, free: 41.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009172/13.31, allocations: 1.115 MB / 4.463 GB, free: 40.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/13.32, allocations: 87.8 kB / 4.463 GB, free: 40.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/13.32, allocations: 28 kB / 4.463 GB, free: 39.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/13.32, allocations: 5.406 kB / 4.463 GB, free: 39.98 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000964/13.32, allocations: 0.6482 MB / 4.464 GB, free: 39.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/13.32, allocations: 8 kB / 4.464 GB, free: 39.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/13.32, allocations: 209.3 kB / 4.464 GB, free: 39.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/13.32, allocations: 79.83 kB / 4.464 GB, free: 39.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/13.32, allocations: 2.765 MB / 4.467 GB, free: 36.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009196/13.32, allocations: 91.73 kB / 4.467 GB, free: 36.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/13.32, allocations: 28 kB / 4.467 GB, free: 36.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001509/13.32, allocations: 129 kB / 4.467 GB, free: 35.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/13.32, allocations: 106.7 kB / 4.467 GB, free: 35.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/13.32, allocations: 0.7041 MB / 4.468 GB, free: 35.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/13.32, allocations: 4 kB / 4.468 GB, free: 35.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/13.32, allocations: 0 / 4.468 GB, free: 35.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/13.32, allocations: 3.984 kB / 4.468 GB, free: 35.08 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 postOpt removeSimpleEquations (simulation): time 0.002174/13.32, allocations: 2.015 MB / 4.47 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/13.32, allocations: 0 / 4.47 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/13.32, allocations: 51.91 kB / 4.47 GB, free: 32.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/13.33, allocations: 144.6 kB / 4.47 GB, free: 32.74 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/13.33, allocations: 4 kB / 4.47 GB, free: 32.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00052/13.33, allocations: 0.8609 MB / 4.471 GB, free: 31.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/13.33, allocations: 7.938 kB / 4.471 GB, free: 31.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/13.33, allocations: 0.8979 MB / 4.472 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/13.33, allocations: 227.8 kB / 4.472 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/13.33, allocations: 7.953 kB / 4.472 GB, free: 30.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006494/13.33, allocations: 75.84 kB / 4.472 GB, free: 30.53 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/13.33, allocations: 35.89 kB / 4.472 GB, free: 30.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/13.33, allocations: 15.98 kB / 4.472 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000688/13.33, allocations: 0.6984 MB / 4.473 GB, free: 29.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/13.33, allocations: 0 / 4.473 GB, free: 29.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001599/13.33, allocations: 0.5618 MB / 4.473 GB, free: 29.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/13.33, allocations: 1.209 MB / 4.475 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00139/13.33, allocations: 1.073 MB / 4.476 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/13.33, allocations: 0 / 4.476 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/13.33, allocations: 223.8 kB / 4.476 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/13.34, allocations: 0.5835 MB / 4.477 GB, free: 26.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/13.34, allocations: 1.42 MB / 4.478 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/13.34, allocations: 1.238 MB / 4.479 GB, free: 23.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001691/13.34, allocations: 0.7337 MB / 4.48 GB, free: 22.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/13.34, allocations: 51.38 kB / 4.48 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/13.34, allocations: 0 / 4.48 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.4677/13.81, allocations: 25.28 MB / 4.505 GB, free: 169.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)