Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01094/0.01094, allocations: 170.8 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/package.mo): time 0.7804/0.7804, allocations: 132.3 MB / 148.1 MB, free: 240 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.517/1.517, allocations: 223.2 MB / 403.2 MB, free: 6.738 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.0009794/0.0009792, allocations: 105.3 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004299, allocations: 8 kB / 0.5641 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5144, allocations: 81.58 MB / 0.6438 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.036/5.551, allocations: 1.835 GB / 2.478 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/5.551, allocations: 92.77 kB / 2.478 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.719/12.27, allocations: 1.814 GB / 4.292 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.575e-06/12.27, allocations: 0 / 4.292 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001062/12.27, allocations: 27.98 kB / 4.292 GB, free: 148.1 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002831/12.27, allocations: 1.439 MB / 4.294 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/12.27, allocations: 8.031 kB / 4.294 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/12.27, allocations: 182.5 kB / 4.294 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/12.28, allocations: 1.116 MB / 4.295 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/12.28, allocations: 45 kB / 4.295 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/12.28, allocations: 63.95 kB / 4.295 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/12.28, allocations: 0.7669 MB / 4.296 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/12.28, allocations: 0 / 4.296 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/12.28, allocations: 24 kB / 4.296 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/12.28, allocations: 12 kB / 4.296 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007158/12.28, allocations: 0.511 MB / 4.296 GB, free: 143.8 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.003538/12.28, allocations: 4.607 MB / 4.301 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/12.28, allocations: 414.5 kB / 4.301 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/12.28, allocations: 190.2 kB / 4.301 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/12.28, allocations: 304.5 kB / 4.302 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/12.28, allocations: 0 / 4.302 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.002862/12.29, allocations: 1.206 MB / 4.303 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/12.29, allocations: 81.11 kB / 4.303 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/12.29, allocations: 0.9953 MB / 4.304 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/12.29, allocations: 33.7 kB / 4.304 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/12.29, allocations: 0.4935 MB / 4.305 GB, free: 135 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/12.29, allocations: 94.56 kB / 4.305 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/12.29, allocations: 12 kB / 4.305 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/12.29, allocations: 330 kB / 4.305 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/12.29, allocations: 184.7 kB / 4.305 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/12.29, allocations: 0.5007 MB / 4.306 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/12.29, allocations: 296 kB / 4.306 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/12.29, allocations: 4 kB / 4.306 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001274/12.29, allocations: 0.897 MB / 4.307 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004955/12.29, allocations: 2.14 MB / 4.309 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/12.29, allocations: 8 kB / 4.309 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/12.29, allocations: 224.6 kB / 4.309 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/12.29, allocations: 63.91 kB / 4.309 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008991/12.29, allocations: 1.01 MB / 4.31 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/12.29, allocations: 107.7 kB / 4.31 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/12.29, allocations: 27.94 kB / 4.31 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/12.29, allocations: 9.406 kB / 4.31 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/12.29, allocations: 0.72 MB / 4.311 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/12.29, allocations: 8 kB / 4.311 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/12.3, allocations: 211.8 kB / 4.311 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/12.3, allocations: 71.84 kB / 4.311 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/12.3, allocations: 3.15 MB / 4.314 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/12.3, allocations: 99.58 kB / 4.314 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/12.3, allocations: 24 kB / 4.314 GB, free: 124.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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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.0007776/12.3, allocations: 464.7 kB / 4.315 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/12.3, allocations: 102.8 kB / 4.315 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/12.3, allocations: 0.714 MB / 4.316 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/12.3, allocations: 4 kB / 4.316 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/12.3, allocations: 4 kB / 4.316 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/12.3, allocations: 3.984 kB / 4.316 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/12.3, allocations: 1.595 MB / 4.317 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/12.3, allocations: 0 / 4.317 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/12.3, allocations: 23.98 kB / 4.317 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004075/12.3, allocations: 244.7 kB / 4.318 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/12.3, allocations: 12 kB / 4.318 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006596/12.31, allocations: 0.9602 MB / 4.318 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/12.31, allocations: 7.969 kB / 4.318 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/12.31, allocations: 0.9183 MB / 4.319 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/12.31, allocations: 215.8 kB / 4.32 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/12.31, allocations: 11.95 kB / 4.32 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/12.31, allocations: 59.78 kB / 4.32 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.311e-05/12.31, allocations: 35.89 kB / 4.32 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/12.31, allocations: 12 kB / 4.32 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000867/12.31, allocations: 0.7838 MB / 4.32 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/12.31, allocations: 0 / 4.32 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001735/12.31, allocations: 0.5113 MB / 4.321 GB, free: 117.4 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/12.31, allocations: 0.9676 MB / 4.322 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001754/12.31, allocations: 1.057 MB / 4.323 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/12.31, allocations: 320 / 4.323 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004378/12.31, allocations: 241.6 kB / 4.323 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/12.32, allocations: 464.1 kB / 4.324 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/12.32, allocations: 1.967 MB / 4.326 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/12.32, allocations: 1.204 MB / 4.327 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009429/12.32, allocations: 319.8 kB / 4.327 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/12.32, allocations: 63.38 kB / 4.327 GB, free: 111 MB / 0.6823 GB Notification: Performance of SimCode: time 1.462e-06/12.32, allocations: 0 / 4.327 GB, free: 111 MB / 0.6823 GB Notification: Performance of Templates: time 0.04161/12.36, allocations: 29.71 MB / 4.356 GB, free: 81.52 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)