Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 174.6 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-master/package.mo): time 0.8063/0.8063, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.526/1.526, allocations: 221.3 MB / 400.4 MB, free: 5.867 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.00094/0.0009398, allocations: 85.88 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.898e-05, allocations: 7.328 kB / 0.56 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1884, allocations: 82.31 MB / 0.6404 GB, free: 7.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.321/5.509, allocations: 1.832 GB / 2.473 GB, free: 63.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/5.51, allocations: 97.22 kB / 2.473 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.001/12.51, allocations: 1.8 GB / 4.273 GB, free: 97.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.442e-06/12.51, allocations: 0 / 4.273 GB, free: 97.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.00011/12.51, allocations: 31.98 kB / 4.273 GB, free: 97.66 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.00202/12.51, allocations: 1.137 MB / 4.274 GB, free: 96.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/12.51, allocations: 8.031 kB / 4.274 GB, free: 96.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007864/12.51, allocations: 182.5 kB / 4.274 GB, free: 96.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/12.52, allocations: 1.077 MB / 4.275 GB, free: 95.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/12.52, allocations: 52.95 kB / 4.276 GB, free: 95.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/12.52, allocations: 60 kB / 4.276 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008931/12.52, allocations: 0.7338 MB / 4.276 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/12.52, allocations: 3.938 kB / 4.276 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/12.52, allocations: 28 kB / 4.276 GB, free: 94.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/12.52, allocations: 12 kB / 4.276 GB, free: 94.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/12.52, allocations: 482.5 kB / 4.277 GB, free: 93.71 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.003034/12.52, allocations: 4.586 MB / 4.281 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/12.52, allocations: 384.1 kB / 4.282 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/12.52, allocations: 234.7 kB / 4.282 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/12.52, allocations: 198.2 kB / 4.282 GB, free: 87.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/12.52, allocations: 265.4 kB / 4.282 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.806e-06/12.52, allocations: 0 / 4.282 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0008248/12.52, allocations: 466 kB / 4.283 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/12.52, allocations: 81.11 kB / 4.283 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/12.52, allocations: 0.9763 MB / 4.284 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/12.52, allocations: 33.7 kB / 4.284 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/12.52, allocations: 0.4887 MB / 4.284 GB, free: 85.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/12.52, allocations: 110.5 kB / 4.284 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/12.52, allocations: 8 kB / 4.284 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/12.52, allocations: 330 kB / 4.285 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/12.52, allocations: 164.8 kB / 4.285 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/12.53, allocations: 490.3 kB / 4.285 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/12.53, allocations: 271.2 kB / 4.286 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/12.53, allocations: 8 kB / 4.286 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007454/12.53, allocations: 0.6349 MB / 4.286 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003739/12.53, allocations: 2.135 MB / 4.288 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/12.53, allocations: 8 kB / 4.288 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/12.53, allocations: 8 kB / 4.288 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/12.53, allocations: 115.8 kB / 4.288 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/12.53, allocations: 15.92 kB / 4.288 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/12.53, allocations: 103.3 kB / 4.289 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/12.53, allocations: 31.98 kB / 4.289 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/12.53, allocations: 0.7812 kB / 4.289 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005551/12.53, allocations: 497.5 kB / 4.289 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/12.53, allocations: 8.094 kB / 4.289 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/12.53, allocations: 12 kB / 4.289 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/12.53, allocations: 103.8 kB / 4.289 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/12.53, allocations: 15.94 kB / 4.289 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/12.53, allocations: 103.5 kB / 4.289 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/12.53, allocations: 20 kB / 4.289 GB, free: 80.05 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/12.53, allocations: 148.8 kB / 4.289 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/12.53, allocations: 98.78 kB / 4.29 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/12.53, allocations: 463 kB / 4.29 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/12.53, allocations: 4 kB / 4.29 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/12.53, allocations: 4 kB / 4.29 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/12.53, allocations: 3.984 kB / 4.29 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/12.53, allocations: 1.357 MB / 4.291 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/12.53, allocations: 4.234 kB / 4.291 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/12.53, allocations: 68.11 kB / 4.291 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/12.53, allocations: 4 kB / 4.291 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/12.53, allocations: 8 kB / 4.291 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/12.53, allocations: 4 kB / 4.291 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/12.53, allocations: 3.984 kB / 4.291 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/12.53, allocations: 0.6653 MB / 4.292 GB, free: 77.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/12.53, allocations: 219.8 kB / 4.292 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/12.53, allocations: 11.98 kB / 4.292 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/12.53, allocations: 59.75 kB / 4.292 GB, free: 76.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.473e-05/12.53, allocations: 27.95 kB / 4.292 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/12.53, allocations: 8 kB / 4.292 GB, free: 76.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008678/12.53, allocations: 0.7727 MB / 4.293 GB, free: 75.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/12.53, allocations: 4 kB / 4.293 GB, free: 75.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001545/12.54, allocations: 475.7 kB / 4.294 GB, free: 75.46 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/12.54, allocations: 0.9037 MB / 4.294 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00118/12.54, allocations: 0.7745 MB / 4.295 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/12.54, allocations: 0 / 4.295 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/12.54, allocations: 191.7 kB / 4.295 GB, free: 73.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/12.54, allocations: 454.3 kB / 4.296 GB, free: 73.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/12.54, allocations: 1.357 MB / 4.297 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/12.54, allocations: 1.206 MB / 4.298 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002035/12.55, allocations: 0.8387 MB / 4.299 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/12.55, allocations: 55.42 kB / 4.299 GB, free: 69.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.422e-06/12.55, allocations: 4 kB / 4.299 GB, free: 69.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.0409/12.59, allocations: 31.11 MB / 4.33 GB, free: 38.64 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)