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.001592/0.001592, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8382/0.8382, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.629/1.629, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.0009604/0.0009604, allocations: 93.19 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.177e-05, allocations: 4 kB / 0.5535 GB, free: 9.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5797, allocations: 82.3 MB / 0.6338 GB, free: 40.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.667/6.247, allocations: 1.832 GB / 2.465 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/6.248, allocations: 89.56 kB / 2.465 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.008/13.26, allocations: 1.782 GB / 4.247 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/13.26, allocations: 0 / 4.247 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.821e-05/13.26, allocations: 31.78 kB / 4.247 GB, free: 190.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001859/13.26, allocations: 1.145 MB / 4.249 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/13.26, allocations: 10.56 kB / 4.249 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008853/13.26, allocations: 188.3 kB / 4.249 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/13.26, allocations: 1.077 MB / 4.25 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/13.26, allocations: 15.59 kB / 4.25 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/13.26, allocations: 37.62 kB / 4.25 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007191/13.26, allocations: 476.6 kB / 4.25 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/13.26, allocations: 0.6673 MB / 4.251 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/13.26, allocations: 7.5 kB / 4.251 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/13.26, allocations: 3.969 kB / 4.251 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/13.26, allocations: 13.03 kB / 4.251 GB, free: 189.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.003247/13.27, allocations: 4.471 MB / 4.255 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/13.27, allocations: 440.6 kB / 4.256 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/13.27, allocations: 243.5 kB / 4.256 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/13.27, allocations: 196.5 kB / 4.256 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/13.27, allocations: 270.2 kB / 4.257 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/13.27, allocations: 0 / 4.257 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.000858/13.27, allocations: 489 kB / 4.257 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/13.27, allocations: 81.05 kB / 4.257 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008276/13.27, allocations: 0.852 MB / 4.258 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/13.27, allocations: 27.77 kB / 4.258 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/13.27, allocations: 490.4 kB / 4.258 GB, free: 185 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/13.27, allocations: 106.5 kB / 4.258 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/13.27, allocations: 0 / 4.258 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.291e-05/13.27, allocations: 326.8 kB / 4.259 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/13.27, allocations: 182.5 kB / 4.259 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/13.27, allocations: 0.4893 MB / 4.259 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/13.27, allocations: 265.9 kB / 4.26 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/13.27, allocations: 3.375 kB / 4.26 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007043/13.27, allocations: 0.6097 MB / 4.26 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004113/13.27, allocations: 2.13 MB / 4.262 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/13.27, allocations: 7.781 kB / 4.262 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/13.27, allocations: 14.12 kB / 4.262 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/13.27, allocations: 111.7 kB / 4.262 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/13.27, allocations: 13.22 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/13.27, allocations: 87.14 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/13.27, allocations: 24.69 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/13.27, allocations: 4.5 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005041/13.27, allocations: 427.8 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/13.27, allocations: 7.844 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/13.27, allocations: 7.344 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/13.27, allocations: 100.9 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/13.27, allocations: 10.62 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/13.27, allocations: 86.05 kB / 4.263 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/13.27, allocations: 18.91 kB / 4.263 GB, free: 181.9 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.0001295/13.28, allocations: 133.3 kB / 4.263 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.621e-05/13.28, allocations: 95.88 kB / 4.263 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/13.28, allocations: 433.3 kB / 4.264 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/13.28, allocations: 3.875 kB / 4.264 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/13.28, allocations: 0 / 4.264 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/13.28, allocations: 6.797 kB / 4.264 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/13.28, allocations: 1.265 MB / 4.265 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/13.28, allocations: 0 / 4.265 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/13.28, allocations: 77.08 kB / 4.265 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/13.28, allocations: 6.938 kB / 4.265 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/13.28, allocations: 7.047 kB / 4.265 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-06/13.28, allocations: 9.734 kB / 4.265 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/13.28, allocations: 0 / 4.265 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/13.28, allocations: 0.6257 MB / 4.266 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/13.28, allocations: 212 kB / 4.266 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/13.28, allocations: 10.78 kB / 4.266 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/13.28, allocations: 51.12 kB / 4.266 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/13.28, allocations: 30.45 kB / 4.266 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/13.28, allocations: 12.19 kB / 4.266 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008261/13.28, allocations: 0.6636 MB / 4.267 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/13.28, allocations: 0 / 4.267 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001435/13.28, allocations: 453.9 kB / 4.267 GB, free: 180.7 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.00156/13.28, allocations: 1.02 MB / 4.268 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001056/13.28, allocations: 0.7591 MB / 4.269 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/13.28, allocations: 0 / 4.269 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/13.28, allocations: 178.5 kB / 4.269 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/13.29, allocations: 397.9 kB / 4.27 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/13.29, allocations: 1.313 MB / 4.271 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/13.29, allocations: 1.211 MB / 4.272 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001667/13.29, allocations: 0.759 MB / 4.273 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/13.29, allocations: 52.72 kB / 4.273 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/13.29, allocations: 0 / 4.273 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.02767/13.32, allocations: 19.89 MB / 4.292 GB, free: 178.2 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)