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.0007158/0.0007158, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.003956/0.003956, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7001/0.7001, allocations: 132.3 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 8 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3257, allocations: 81.58 MB / 0.5838 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1419/0.4676, allocations: 157.3 MB / 0.7374 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003972/0.4716, allocations: 3.584 MB / 0.7409 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.4718, allocations: 11.88 kB / 0.7409 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.4722, allocations: 135.2 kB / 0.741 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.4733, allocations: 0.494 MB / 0.7415 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008711/0.4741, allocations: 393 kB / 0.7419 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00273/0.4769, allocations: 3.515 MB / 0.7453 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.479, allocations: 2.234 MB / 0.7475 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.4801, allocations: 0.9024 MB / 0.7484 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006414/0.4807, allocations: 0.7116 MB / 0.7491 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.4808, allocations: 32 kB / 0.7491 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009831/0.4818, allocations: 0.8028 MB / 0.7499 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.482, allocations: 274.9 kB / 0.7501 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.4824, allocations: 0.5378 MB / 0.7507 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.4835, allocations: 1.386 MB / 0.752 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4835, allocations: 0 / 0.752 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4835, allocations: 0 / 0.752 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.4836, allocations: 0 / 0.752 GB, free: 3.5 MB / 0.5762 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.001642/0.4852, allocations: 1.288 MB / 0.7533 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.4852, allocations: 12.03 kB / 0.7533 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.639e-05/0.4853, allocations: 98.45 kB / 0.7534 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006304/0.486, allocations: 190.4 kB / 0.7535 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.4869, allocations: 0.81 MB / 0.7543 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.487, allocations: 41 kB / 0.7544 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/0.4871, allocations: 64 kB / 0.7544 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.4881, allocations: 0.82 MB / 0.7552 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4881, allocations: 3.938 kB / 0.7552 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.4882, allocations: 27.94 kB / 0.7553 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.4882, allocations: 12 kB / 0.7553 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.489, allocations: 0.5774 MB / 0.7558 GB, free: 15.37 MB / 0.5919 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.003087/0.4921, allocations: 4.251 MB / 0.76 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.4928, allocations: 454.1 kB / 0.7604 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.4932, allocations: 354 kB / 0.7608 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.4935, allocations: 202.2 kB / 0.761 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.4939, allocations: 331.1 kB / 0.7613 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000139/0.4941, allocations: 35.59 kB / 0.7613 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.322e-06/0.4941, allocations: 0 / 0.7613 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001189/0.4953, allocations: 0.7134 MB / 0.762 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.4953, allocations: 85.05 kB / 0.7621 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.4965, allocations: 1.151 MB / 0.7632 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.4965, allocations: 41.7 kB / 0.7633 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.4968, allocations: 488.4 kB / 0.7637 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.811e-05/0.4969, allocations: 114.4 kB / 0.7638 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.497, allocations: 41.7 kB / 0.7639 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.4971, allocations: 322 kB / 0.7642 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.4974, allocations: 240.9 kB / 0.7644 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.498, allocations: 0.5421 MB / 0.7649 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.4988, allocations: 0.6867 MB / 0.7656 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4988, allocations: 0 / 0.7656 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00106/0.4999, allocations: 0.7747 MB / 0.7664 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.5, allocations: 283.2 kB / 0.7666 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5, allocations: 4.109 kB / 0.7666 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5, allocations: 11.94 kB / 0.7666 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.5005, allocations: 115.8 kB / 0.7668 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.5005, allocations: 8 kB / 0.7668 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.5012, allocations: 91.75 kB / 0.7669 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.5013, allocations: 27.94 kB / 0.7669 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-06/0.5013, allocations: 4 kB / 0.7669 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008282/0.5021, allocations: 0.5832 MB / 0.7675 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5021, allocations: 4 kB / 0.7675 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/0.5021, allocations: 8 kB / 0.7675 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.5025, allocations: 120.4 kB / 0.7676 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5026, allocations: 11.94 kB / 0.7676 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.5032, allocations: 78.36 kB / 0.7677 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.5032, allocations: 27.98 kB / 0.7677 GB, free: 2.527 MB / 0.5919 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003856/0.5036, allocations: 470.1 kB / 0.7681 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.83e-05/0.5037, allocations: 106.7 kB / 0.7682 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008533/0.5046, allocations: 0.5505 MB / 0.7688 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5046, allocations: 4 kB / 0.7688 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5046, allocations: 7.938 kB / 0.7688 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5046, allocations: 7.984 kB / 0.7688 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.5064, allocations: 1.501 MB / 0.7703 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5064, allocations: 4 kB / 0.7703 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.5067, allocations: 71.83 kB / 0.7703 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5067, allocations: 7.938 kB / 0.7703 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.5067, allocations: 11.98 kB / 0.7704 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5067, allocations: 8.219 kB / 0.7704 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.5067, allocations: 4 kB / 0.7704 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.5075, allocations: 0.6681 MB / 0.771 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.5078, allocations: 231.8 kB / 0.7712 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.5079, allocations: 8 kB / 0.7712 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/0.5085, allocations: 63.78 kB / 0.7713 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.5086, allocations: 31.95 kB / 0.7713 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.5086, allocations: 19.94 kB / 0.7714 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008225/0.5094, allocations: 0.8199 MB / 0.7722 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5094, allocations: 0 / 0.7722 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008513/0.5103, allocations: 423.5 kB / 0.7726 GB, free: 13.38 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/0.5115, allocations: 1.288 MB / 0.7738 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.5127, allocations: 0.9081 MB / 0.7747 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5127, allocations: 0 / 0.7747 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/0.5131, allocations: 240.3 kB / 0.7749 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/0.5161, allocations: 0.6269 MB / 0.7755 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.5277, allocations: 9.233 MB / 0.7846 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.5283, allocations: 1.182 MB / 0.7857 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009052/0.5293, allocations: 412.3 kB / 0.7861 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.5296, allocations: 339.3 kB / 0.7864 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.5296, allocations: 0 / 0.7864 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.772/2.301, allocations: 27.98 MB / 0.8138 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/2.302, allocations: 256.8 kB / 0.814 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/4.576, allocations: 3.938 kB / 0.814 GB, free: 2.867 MB / 0.6387 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/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)