Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00106/0.00106, 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.7878/0.7878, allocations: 130.5 MB / 143.8 MB, free: 13.59 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.495/1.495, allocations: 221.3 MB / 396.8 MB, free: 9.145 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.0009496/0.0009496, allocations: 103.2 kB / 479 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.857e-05, allocations: 4.312 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1768, allocations: 81.58 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.523/4.7, allocations: 1.832 GB / 2.467 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/4.7, allocations: 87.94 kB / 2.467 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.969/12.67, allocations: 1.996 GB / 4.463 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/12.67, allocations: 0 / 4.463 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001505/12.67, allocations: 33.73 kB / 4.463 GB, free: 168.2 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.005142/12.67, allocations: 1.28 MB / 4.464 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/12.67, allocations: 6.812 kB / 4.464 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/12.68, allocations: 197.2 kB / 4.464 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003897/12.68, allocations: 1.426 MB / 4.466 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/12.68, allocations: 52.66 kB / 4.466 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/12.68, allocations: 64.94 kB / 4.466 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/12.68, allocations: 0.9259 MB / 4.467 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/12.68, allocations: 5.969 kB / 4.467 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/12.68, allocations: 21.47 kB / 4.467 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/12.68, allocations: 13.19 kB / 4.467 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009722/12.68, allocations: 0.7103 MB / 4.468 GB, free: 167.1 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.004462/12.69, allocations: 4.735 MB / 4.472 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/12.69, allocations: 4.024 MB / 4.476 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/12.69, allocations: 329.7 kB / 4.476 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/12.69, allocations: 197.4 kB / 4.477 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/12.69, allocations: 302.6 kB / 4.477 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005024/12.69, allocations: 34.72 kB / 4.477 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.264e-06/12.69, allocations: 0 / 4.477 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001303/12.69, allocations: 0.7238 MB / 4.478 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/12.69, allocations: 88.44 kB / 4.478 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/12.69, allocations: 1.025 MB / 4.479 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/12.69, allocations: 41.45 kB / 4.479 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/12.69, allocations: 0.5135 MB / 4.479 GB, free: 159 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/12.69, allocations: 134.9 kB / 4.479 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/12.69, allocations: 3.75 kB / 4.479 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/12.69, allocations: 331.7 kB / 4.48 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/12.69, allocations: 186.3 kB / 4.48 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/12.69, allocations: 0.5316 MB / 4.48 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/12.69, allocations: 306.1 kB / 4.481 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/12.69, allocations: 5.938 kB / 4.481 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001247/12.7, allocations: 0.9281 MB / 4.482 GB, free: 158 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004751/12.7, allocations: 2.217 MB / 4.484 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/12.7, allocations: 13.72 kB / 4.484 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005172/12.7, allocations: 239.7 kB / 4.484 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/12.7, allocations: 85.53 kB / 4.484 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008459/12.7, allocations: 0.9895 MB / 4.485 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/12.7, allocations: 111.9 kB / 4.485 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/12.7, allocations: 28.06 kB / 4.485 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/12.7, allocations: 5.906 kB / 4.485 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001098/12.7, allocations: 0.7362 MB / 4.486 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/12.7, allocations: 7.406 kB / 4.486 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/12.7, allocations: 226.3 kB / 4.486 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/12.7, allocations: 76.47 kB / 4.486 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/12.7, allocations: 2.876 MB / 4.489 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/12.7, allocations: 102.2 kB / 4.489 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/12.7, allocations: 23.22 kB / 4.489 GB, free: 153.8 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.0002225/12.71, allocations: 152.1 kB / 4.489 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/12.71, allocations: 111.5 kB / 4.489 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/12.71, allocations: 0.751 MB / 4.49 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/12.71, allocations: 3.719 kB / 4.49 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/12.71, allocations: 3.188 kB / 4.49 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/12.71, allocations: 2.625 kB / 4.49 GB, free: 153.5 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.002755/12.71, allocations: 2.122 MB / 4.492 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/12.71, allocations: 0 / 4.492 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/12.71, allocations: 59.61 kB / 4.492 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/12.71, allocations: 178.1 kB / 4.492 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/12.71, allocations: 14.31 kB / 4.493 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005561/12.71, allocations: 0.8456 MB / 4.493 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/12.71, allocations: 6.812 kB / 4.493 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009777/12.71, allocations: 0.9198 MB / 4.494 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/12.71, allocations: 235.3 kB / 4.494 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/12.71, allocations: 8.094 kB / 4.494 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006763/12.71, allocations: 80.12 kB / 4.495 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/12.71, allocations: 38.42 kB / 4.495 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/12.71, allocations: 16.47 kB / 4.495 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001012/12.71, allocations: 0.8114 MB / 4.495 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/12.71, allocations: 0 / 4.495 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001931/12.72, allocations: 0.6016 MB / 4.496 GB, free: 151.5 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.001659/12.72, allocations: 1.07 MB / 4.497 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001748/12.72, allocations: 1.114 MB / 4.498 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/12.72, allocations: 0 / 4.498 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003543/12.72, allocations: 236.8 kB / 4.498 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/12.72, allocations: 0.6393 MB / 4.499 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/12.73, allocations: 1.453 MB / 4.5 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/12.73, allocations: 1.235 MB / 4.502 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001991/12.73, allocations: 0.8204 MB / 4.502 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/12.73, allocations: 53.41 kB / 4.502 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/12.73, allocations: 0 / 4.502 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.05903/12.79, allocations: 38.3 MB / 4.54 GB, free: 145.8 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)