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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001631, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002602/0.002602, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.785/2.785, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.4/1.4, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005481/0.0005483, allocations: 11.94 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7088, allocations: 81.58 MB / 0.583 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.242/0.9509, allocations: 135.7 MB / 0.7155 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007867/0.9588, allocations: 3.103 MB / 0.7185 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/0.9595, allocations: 7.938 kB / 0.7185 GB, free: 5.469 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.9606, allocations: 191.1 kB / 0.7187 GB, free: 5.281 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.9634, allocations: 0.4946 MB / 0.7192 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.9661, allocations: 452.1 kB / 0.7196 GB, free: 4.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003578/0.9697, allocations: 1.521 MB / 0.7211 GB, free: 2.824 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005213/0.9749, allocations: 2.199 MB / 0.7233 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.9778, allocations: 0.6969 MB / 0.7239 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.9791, allocations: 493.9 kB / 0.7244 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.9793, allocations: 36 kB / 0.7245 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.9812, allocations: 415.2 kB / 0.7248 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.9816, allocations: 255.1 kB / 0.7251 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.9821, allocations: 237.1 kB / 0.7253 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.984, allocations: 0.9781 MB / 0.7263 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.984, allocations: 4 kB / 0.7263 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.527e-06/0.984, allocations: 0 / 0.7263 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.105e-05/0.9841, allocations: 4 kB / 0.7263 GB, free: 13.51 MB / 0.5606 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.004084/0.9882, allocations: 1.311 MB / 0.7276 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.9883, allocations: 8.031 kB / 0.7276 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002407/0.9885, allocations: 98.5 kB / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.9902, allocations: 190.4 kB / 0.7278 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.9934, allocations: 0.808 MB / 0.7286 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/0.9935, allocations: 41 kB / 0.7287 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.9937, allocations: 59.98 kB / 0.7287 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.996, allocations: 0.82 MB / 0.7295 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.996, allocations: 3.938 kB / 0.7295 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.9961, allocations: 24 kB / 0.7296 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.9962, allocations: 12 kB / 0.7296 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.9981, allocations: 0.5735 MB / 0.7301 GB, free: 9.371 MB / 0.5606 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.009367/1.008, allocations: 4.251 MB / 0.7343 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/1.009, allocations: 470.3 kB / 0.7347 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/1.009, allocations: 12.03 kB / 0.7347 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/1.011, allocations: 328 kB / 0.7351 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006536/1.011, allocations: 35.59 kB / 0.7351 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.427e-06/1.011, allocations: 0 / 0.7351 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002991/1.014, allocations: 0.7169 MB / 0.7358 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/1.015, allocations: 110.8 kB / 0.7359 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/1.017, allocations: 1.151 MB / 0.737 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/1.018, allocations: 33.7 kB / 0.737 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008512/1.018, allocations: 496.4 kB / 0.7375 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/1.019, allocations: 118.4 kB / 0.7376 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/1.019, allocations: 12 kB / 0.7376 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.019, allocations: 322 kB / 0.738 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008613/1.02, allocations: 208.9 kB / 0.7382 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/1.021, allocations: 0.5226 MB / 0.7387 GB, free: 136 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009949/1.022, allocations: 322.9 kB / 0.739 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/1.022, allocations: 0 / 0.739 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002533/1.025, allocations: 0.7294 MB / 0.7397 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.00129/1.026, allocations: 2.125 MB / 0.7418 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/1.026, allocations: 8.109 kB / 0.7418 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.026, allocations: 15.92 kB / 0.7418 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.027, allocations: 119.8 kB / 0.7419 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/1.027, allocations: 8 kB / 0.7419 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.03, allocations: 95.7 kB / 0.742 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.03, allocations: 23.98 kB / 0.742 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.03, allocations: 4 kB / 0.742 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002211/1.032, allocations: 0.5882 MB / 0.7426 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/1.032, allocations: 8 kB / 0.7426 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.032, allocations: 8 kB / 0.7426 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.033, allocations: 111.8 kB / 0.7427 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/1.033, allocations: 16.38 kB / 0.7427 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.035, allocations: 95.69 kB / 0.7428 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/1.035, allocations: 24 kB / 0.7428 GB, free: 11.66 MB / 0.5762 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.001157/1.036, allocations: 475 kB / 0.7433 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/1.037, allocations: 102.8 kB / 0.7434 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/1.039, allocations: 0.5274 MB / 0.7439 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.039, allocations: 4 kB / 0.7439 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.039, allocations: 0 / 0.7439 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.039, allocations: 7.984 kB / 0.7439 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/1.042, allocations: 1.169 MB / 0.7451 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.042, allocations: 0 / 0.7451 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007546/1.043, allocations: 72.09 kB / 0.7451 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/1.043, allocations: 8 kB / 0.7451 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/1.043, allocations: 11.95 kB / 0.7452 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/1.043, allocations: 4 kB / 0.7452 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.043, allocations: 3.938 kB / 0.7452 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.045, allocations: 0.6908 MB / 0.7458 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/1.046, allocations: 231.8 kB / 0.7461 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/1.046, allocations: 11.98 kB / 0.7461 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.047, allocations: 71.7 kB / 0.7461 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.047, allocations: 35.91 kB / 0.7462 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.06e-05/1.048, allocations: 15.98 kB / 0.7462 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002319/1.05, allocations: 0.812 MB / 0.747 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.81e-07/1.05, allocations: 3.938 kB / 0.747 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002268/1.052, allocations: 427.4 kB / 0.7474 GB, free: 6.809 MB / 0.5762 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.003372/1.056, allocations: 1.787 MB / 0.7491 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003131/1.059, allocations: 0.8791 MB / 0.75 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.059, allocations: 1.375 kB / 0.75 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008745/1.06, allocations: 232.2 kB / 0.7502 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007251/1.067, allocations: 0.6291 MB / 0.7508 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/1.095, allocations: 9.789 MB / 0.7604 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.096, allocations: 1.201 MB / 0.7616 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002705/1.099, allocations: 443.9 kB / 0.762 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008301/1.1, allocations: 335.3 kB / 0.7623 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/1.1, allocations: 0 / 0.7623 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08243/1.182, allocations: 28.46 MB / 0.7901 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/1.182, allocations: 231.4 kB / 0.7903 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.618/4.801, allocations: 4 kB / 0.7903 GB, free: 10.87 MB / 0.6231 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) Environment - environmentSimulation: