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.001128/0.001127, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7799/0.7799, allocations: 130.7 MB / 138.7 MB, free: 3.523 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.499/1.499, allocations: 221.5 MB / 391.8 MB, free: 14.22 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.0008592/0.0008594, allocations: 97.28 kB / 473.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.163e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.5541, allocations: 81.57 MB / 0.6282 GB, free: 42.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/5.897, allocations: 1.831 GB / 2.46 GB, free: 121.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/5.898, allocations: 99.23 kB / 2.46 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.238/14.14, allocations: 1.976 GB / 4.435 GB, free: 146.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.633e-06/14.14, allocations: 0 / 4.435 GB, free: 146.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002103/14.14, allocations: 38.48 kB / 4.435 GB, free: 146.7 MB / 0.6667 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.004941/14.14, allocations: 1.27 MB / 4.437 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/14.14, allocations: 11.19 kB / 4.437 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/14.14, allocations: 195.9 kB / 4.437 GB, free: 145.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/14.15, allocations: 1.429 MB / 4.438 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/14.15, allocations: 16.88 kB / 4.438 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/14.15, allocations: 48.09 kB / 4.438 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001206/14.15, allocations: 0.7008 MB / 4.439 GB, free: 144.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/14.15, allocations: 0.8475 MB / 4.44 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/14.15, allocations: 3.938 kB / 4.44 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/14.15, allocations: 4 kB / 4.44 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/14.15, allocations: 15.94 kB / 4.44 GB, free: 143.7 MB / 0.6667 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.005248/14.16, allocations: 4.597 MB / 4.444 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/14.16, allocations: 4.074 MB / 4.448 GB, free: 134 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/14.16, allocations: 339.6 kB / 4.449 GB, free: 133.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/14.16, allocations: 198 kB / 4.449 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004188/14.16, allocations: 304.7 kB / 4.449 GB, free: 133.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006303/14.16, allocations: 15.84 kB / 4.449 GB, free: 133.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 6.763e-06/14.16, allocations: 0 / 4.449 GB, free: 133.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36): time 0.002174/14.16, allocations: 0.7969 MB / 4.45 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/14.16, allocations: 81.11 kB / 4.45 GB, free: 132.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/14.16, allocations: 0.8985 MB / 4.451 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/14.16, allocations: 29.7 kB / 4.451 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/14.16, allocations: 0.5343 MB / 4.451 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/14.16, allocations: 118.3 kB / 4.452 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/14.16, allocations: 3.938 kB / 4.452 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/14.16, allocations: 329.9 kB / 4.452 GB, free: 130.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/14.16, allocations: 205 kB / 4.452 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/14.17, allocations: 0.5385 MB / 4.453 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/14.17, allocations: 300.6 kB / 4.453 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/14.17, allocations: 4 kB / 4.453 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001668/14.17, allocations: 0.9568 MB / 4.454 GB, free: 128.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005681/14.17, allocations: 2.21 MB / 4.456 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/14.17, allocations: 4 kB / 4.456 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/14.17, allocations: 230.9 kB / 4.456 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/14.17, allocations: 87.25 kB / 4.456 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009664/14.17, allocations: 1.107 MB / 4.457 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/14.17, allocations: 90.05 kB / 4.457 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/14.17, allocations: 31.98 kB / 4.457 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/14.17, allocations: 4 kB / 4.457 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/14.17, allocations: 0.6473 MB / 4.458 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/14.17, allocations: 4 kB / 4.458 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004833/14.17, allocations: 208.1 kB / 4.458 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/14.17, allocations: 79.84 kB / 4.458 GB, free: 123.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/14.18, allocations: 2.774 MB / 4.461 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/14.18, allocations: 86.16 kB / 4.461 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/14.18, allocations: 27.98 kB / 4.461 GB, free: 120.3 MB / 0.6667 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.0001941/14.18, allocations: 127.7 kB / 4.461 GB, free: 120.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/14.18, allocations: 114.5 kB / 4.461 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/14.18, allocations: 0.7142 MB / 4.462 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/14.18, allocations: 4 kB / 4.462 GB, free: 119.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/14.18, allocations: 3.344 kB / 4.462 GB, free: 119.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/14.18, allocations: 4 kB / 4.462 GB, free: 119.3 MB / 0.6667 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.002566/14.18, allocations: 1.993 MB / 4.464 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/14.18, allocations: 4 kB / 4.464 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/14.18, allocations: 59.8 kB / 4.464 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/14.18, allocations: 136.2 kB / 4.464 GB, free: 117 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/14.18, allocations: 11.98 kB / 4.464 GB, free: 117 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005666/14.18, allocations: 0.8646 MB / 4.465 GB, free: 116.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/14.18, allocations: 3.984 kB / 4.465 GB, free: 116.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009188/14.18, allocations: 0.8968 MB / 4.466 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/14.18, allocations: 231.7 kB / 4.466 GB, free: 114.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/14.18, allocations: 4 kB / 4.466 GB, free: 114.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/14.18, allocations: 78.12 kB / 4.466 GB, free: 114.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/14.18, allocations: 31.91 kB / 4.466 GB, free: 114.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/14.18, allocations: 19.94 kB / 4.466 GB, free: 114.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008462/14.19, allocations: 0.6945 MB / 4.467 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/14.19, allocations: 4 kB / 4.467 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001956/14.19, allocations: 0.5611 MB / 4.468 GB, free: 113.5 MB / 0.6667 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.001814/14.19, allocations: 1.202 MB / 4.469 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001778/14.19, allocations: 1.065 MB / 4.47 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/14.19, allocations: 0 / 4.47 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/14.19, allocations: 227.2 kB / 4.47 GB, free: 111.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/14.19, allocations: 0.5815 MB / 4.471 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/14.2, allocations: 1.425 MB / 4.472 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/14.2, allocations: 1.24 MB / 4.473 GB, free: 108 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002377/14.2, allocations: 0.7372 MB / 4.474 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/14.2, allocations: 47.44 kB / 4.474 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.523e-06/14.2, allocations: 0 / 4.474 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.06182/14.26, allocations: 25.29 MB / 4.499 GB, free: 82.4 MB / 0.6667 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)