Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008534/0.008534, allocations: 169 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7309/0.7309, allocations: 132.3 MB / 148.1 MB, free: 264 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.2 MB / 403.2 MB, free: 6.793 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.0009521/0.0009519, allocations: 98.77 kB / 485.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004432, allocations: 15.98 kB / 0.5641 GB, free: 2.148 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4912, allocations: 81.57 MB / 0.6438 GB, free: 39.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.075/5.566, allocations: 1.832 GB / 2.476 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/5.566, allocations: 95.44 kB / 2.476 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.671/12.24, allocations: 1.804 GB / 4.279 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/12.24, allocations: 0 / 4.279 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001125/12.24, allocations: 36.84 kB / 4.279 GB, free: 164.3 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004563/12.24, allocations: 1.506 MB / 4.281 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/12.24, allocations: 8.031 kB / 4.281 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008708/12.24, allocations: 189.2 kB / 4.281 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/12.25, allocations: 1.392 MB / 4.283 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/12.25, allocations: 41 kB / 4.283 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/12.25, allocations: 63.98 kB / 4.283 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/12.25, allocations: 0.7966 MB / 4.283 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/12.25, allocations: 7.875 kB / 4.283 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/12.25, allocations: 23.98 kB / 4.283 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/12.25, allocations: 16 kB / 4.283 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/12.25, allocations: 0.5345 MB / 4.284 GB, free: 159.7 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.003335/12.25, allocations: 4.226 MB / 4.288 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/12.25, allocations: 438.4 kB / 4.289 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/12.25, allocations: 200.6 kB / 4.289 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006295/12.25, allocations: 312.1 kB / 4.289 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003131/12.25, allocations: 31.69 kB / 4.289 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/12.25, allocations: 0 / 4.289 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.003213/12.26, allocations: 1.368 MB / 4.29 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/12.26, allocations: 81.11 kB / 4.29 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/12.26, allocations: 1.012 MB / 4.291 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/12.26, allocations: 37.7 kB / 4.291 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/12.26, allocations: 491.4 kB / 4.292 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.984e-05/12.26, allocations: 117.4 kB / 4.292 GB, free: 151 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/12.26, allocations: 8.109 kB / 4.292 GB, free: 151 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/12.26, allocations: 341.9 kB / 4.292 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/12.26, allocations: 197 kB / 4.293 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/12.26, allocations: 0.5255 MB / 4.293 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/12.26, allocations: 317.1 kB / 4.293 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/12.26, allocations: 4 kB / 4.293 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001301/12.26, allocations: 0.9623 MB / 4.294 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004341/12.26, allocations: 2.131 MB / 4.296 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/12.26, allocations: 4 kB / 4.296 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/12.26, allocations: 259.4 kB / 4.297 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/12.26, allocations: 63.91 kB / 4.297 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008282/12.26, allocations: 1.031 MB / 4.298 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009885/12.26, allocations: 91.81 kB / 4.298 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/12.26, allocations: 27.98 kB / 4.298 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/12.26, allocations: 4 kB / 4.298 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/12.27, allocations: 0.7809 MB / 4.299 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/12.27, allocations: 8 kB / 4.299 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005334/12.27, allocations: 236.7 kB / 4.299 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/12.27, allocations: 75.83 kB / 4.299 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/12.27, allocations: 3.056 MB / 4.302 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009578/12.27, allocations: 91.77 kB / 4.302 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/12.27, allocations: 27.98 kB / 4.302 GB, free: 140.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006015/12.27, allocations: 471.7 kB / 4.302 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/12.27, allocations: 102.7 kB / 4.303 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/12.27, allocations: 0.7768 MB / 4.303 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/12.27, allocations: 11.89 kB / 4.303 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/12.27, allocations: 0 / 4.303 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/12.27, allocations: 3.984 kB / 4.303 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/12.27, allocations: 1.717 MB / 4.305 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/12.27, allocations: 8 kB / 4.305 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/12.27, allocations: 27.92 kB / 4.305 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/12.27, allocations: 256.7 kB / 4.305 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/12.27, allocations: 8 kB / 4.305 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007117/12.28, allocations: 0.9992 MB / 4.306 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/12.28, allocations: 4.031 kB / 4.306 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/12.28, allocations: 0.9731 MB / 4.307 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/12.28, allocations: 231.7 kB / 4.307 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/12.28, allocations: 8 kB / 4.307 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/12.28, allocations: 71.77 kB / 4.308 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/12.28, allocations: 35.91 kB / 4.308 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/12.28, allocations: 8 kB / 4.308 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008612/12.28, allocations: 0.808 MB / 4.308 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/12.28, allocations: 0 / 4.308 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00165/12.28, allocations: 0.5426 MB / 4.309 GB, free: 133.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001298/12.28, allocations: 0.9102 MB / 4.31 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001746/12.28, allocations: 1.106 MB / 4.311 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/12.28, allocations: 0 / 4.311 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/12.28, allocations: 248.8 kB / 4.311 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/12.29, allocations: 0.6207 MB / 4.312 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/12.29, allocations: 1.992 MB / 4.314 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/12.29, allocations: 1.208 MB / 4.315 GB, free: 127 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001095/12.29, allocations: 316.4 kB / 4.315 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/12.29, allocations: 63.42 kB / 4.315 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.693e-06/12.29, allocations: 0 / 4.315 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.04493/12.34, allocations: 31.42 MB / 4.346 GB, free: 95.46 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)