Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00635/0.00635, allocations: 170.5 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-master/package.mo): time 0.7778/0.7778, allocations: 135.2 MB / 151 MB, free: 13.8 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.53/1.53, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001617/0.001617, allocations: 105.8 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5104, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.112/5.622, allocations: 1.835 GB / 2.484 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/5.622, allocations: 98.86 kB / 2.484 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.819/12.44, allocations: 1.816 GB / 4.3 GB, free: 95.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/12.44, allocations: 0 / 4.3 GB, free: 95.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001146/12.44, allocations: 31.97 kB / 4.3 GB, free: 95.58 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.004757/12.45, allocations: 1.523 MB / 4.302 GB, free: 94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/12.45, allocations: 8.031 kB / 4.302 GB, free: 93.99 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000246/12.45, allocations: 98.45 kB / 4.302 GB, free: 93.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009427/12.45, allocations: 186.5 kB / 4.302 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/12.45, allocations: 1.428 MB / 4.303 GB, free: 92.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/12.45, allocations: 41 kB / 4.303 GB, free: 92.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/12.45, allocations: 64 kB / 4.303 GB, free: 92.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/12.45, allocations: 0.7849 MB / 4.304 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/12.45, allocations: 7.938 kB / 4.304 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/12.45, allocations: 16 kB / 4.304 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/12.45, allocations: 20 kB / 4.304 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/12.45, allocations: 0.5422 MB / 4.305 GB, free: 90.67 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.003803/12.46, allocations: 4.216 MB / 4.309 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/12.46, allocations: 417.1 kB / 4.309 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/12.46, allocations: 194.2 kB / 4.309 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/12.46, allocations: 315.3 kB / 4.31 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004137/12.46, allocations: 31.69 kB / 4.31 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/12.46, allocations: 0 / 4.31 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001277/12.46, allocations: 0.6913 MB / 4.31 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/12.46, allocations: 81.11 kB / 4.311 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/12.46, allocations: 1.02 MB / 4.312 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/12.46, allocations: 37.7 kB / 4.312 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/12.46, allocations: 488.8 kB / 4.312 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/12.46, allocations: 118.4 kB / 4.312 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/12.46, allocations: 4.109 kB / 4.312 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/12.46, allocations: 333.9 kB / 4.312 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/12.46, allocations: 197 kB / 4.313 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/12.46, allocations: 0.5215 MB / 4.313 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/12.46, allocations: 310.2 kB / 4.313 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/12.46, allocations: 0 / 4.313 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009241/12.46, allocations: 0.7173 MB / 4.314 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004119/12.46, allocations: 2.133 MB / 4.316 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/12.46, allocations: 4 kB / 4.316 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/12.47, allocations: 8 kB / 4.316 GB, free: 78.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/12.47, allocations: 119.8 kB / 4.316 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/12.47, allocations: 11.94 kB / 4.316 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/12.47, allocations: 95.75 kB / 4.316 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/12.47, allocations: 27.98 kB / 4.317 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/12.47, allocations: 4 kB / 4.317 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007604/12.47, allocations: 0.5583 MB / 4.317 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/12.47, allocations: 12.03 kB / 4.317 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/12.47, allocations: 8 kB / 4.317 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/12.47, allocations: 115.8 kB / 4.317 GB, free: 77.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/12.47, allocations: 15.88 kB / 4.317 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/12.47, allocations: 91.75 kB / 4.317 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/12.47, allocations: 23.98 kB / 4.317 GB, free: 77.09 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 (55): * Single equations (assignments): 54 * 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.0005676/12.47, allocations: 472.8 kB / 4.318 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/12.47, allocations: 106.7 kB / 4.318 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008462/12.47, allocations: 0.5348 MB / 4.318 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/12.47, allocations: 7.953 kB / 4.318 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/12.47, allocations: 0 / 4.318 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/12.47, allocations: 0 / 4.318 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/12.47, allocations: 1.471 MB / 4.32 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/12.47, allocations: 4 kB / 4.32 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/12.47, allocations: 80.03 kB / 4.32 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/12.47, allocations: 4 kB / 4.32 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/12.47, allocations: 8 kB / 4.32 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/12.47, allocations: 4 kB / 4.32 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/12.47, allocations: 0 / 4.32 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/12.47, allocations: 0.7343 MB / 4.321 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/12.47, allocations: 231.7 kB / 4.321 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/12.47, allocations: 8 kB / 4.321 GB, free: 73.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/12.47, allocations: 71.77 kB / 4.321 GB, free: 73.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/12.47, allocations: 39.84 kB / 4.321 GB, free: 73.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/12.47, allocations: 8 kB / 4.321 GB, free: 73.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008353/12.48, allocations: 0.812 MB / 4.322 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/12.48, allocations: 0 / 4.322 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001449/12.48, allocations: 499.7 kB / 4.322 GB, free: 71.83 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 (33): * Single equations (assignments): 31 * 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.002389/12.48, allocations: 2.64 MB / 4.325 GB, free: 69.13 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001303/12.48, allocations: 0.8567 MB / 4.326 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/12.48, allocations: 0 / 4.326 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003301/12.48, allocations: 228.5 kB / 4.326 GB, free: 68.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/12.48, allocations: 0.6265 MB / 4.327 GB, free: 67.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/12.5, allocations: 9.793 MB / 4.336 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/12.5, allocations: 1.197 MB / 4.337 GB, free: 56.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001414/12.5, allocations: 408.3 kB / 4.338 GB, free: 55.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005395/12.5, allocations: 339.3 kB / 4.338 GB, free: 55.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.522e-06/12.5, allocations: 0 / 4.338 GB, free: 55.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06864/12.57, allocations: 42.98 MB / 4.38 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/12.57, allocations: 232.1 kB / 4.38 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/15.98, allocations: 0 / 4.38 GB, free: 12.44 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)