Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_dev_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.001056/0.001056, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.007828/0.007828, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9137/0.9137, allocations: 135.3 MB / 426.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003033, allocations: 8.875 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4161/0.5645, allocations: 157.3 MB / 0.7417 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005118/0.5697, allocations: 3.594 MB / 0.7452 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004808/0.5702, allocations: 8.719 kB / 0.7452 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.5708, allocations: 134.4 kB / 0.7453 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.5721, allocations: 0.4957 MB / 0.7458 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.5735, allocations: 392.5 kB / 0.7462 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003483/0.577, allocations: 3.514 MB / 0.7496 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.5796, allocations: 2.212 MB / 0.7518 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.5814, allocations: 0.9097 MB / 0.7527 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.5825, allocations: 0.719 MB / 0.7534 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.5826, allocations: 31.38 kB / 0.7534 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.5841, allocations: 0.8036 MB / 0.7542 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.5844, allocations: 270.9 kB / 0.7544 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006965/0.5851, allocations: 0.5378 MB / 0.755 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.5868, allocations: 1.374 MB / 0.7563 GB, free: 224 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5868, allocations: 8 kB / 0.7563 GB, free: 216 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5868, allocations: 3.938 kB / 0.7563 GB, free: 212 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.938e-05/0.5868, allocations: 0 / 0.7563 GB, free: 212 kB / 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.002217/0.5891, allocations: 1.299 MB / 0.7576 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5891, allocations: 12.03 kB / 0.7576 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.5893, allocations: 94.52 kB / 0.7577 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007813/0.5901, allocations: 186.4 kB / 0.7579 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.5913, allocations: 0.8179 MB / 0.7587 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.5913, allocations: 41 kB / 0.7587 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/0.5914, allocations: 63.94 kB / 0.7588 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5927, allocations: 0.821 MB / 0.7596 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5927, allocations: 0 / 0.7596 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.5927, allocations: 27.98 kB / 0.7596 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5928, allocations: 19.88 kB / 0.7596 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.5938, allocations: 0.5735 MB / 0.7602 GB, free: 12.06 MB / 0.5762 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.003895/0.5977, allocations: 4.252 MB / 0.7643 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007451/0.5984, allocations: 456.2 kB / 0.7648 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.5989, allocations: 351.1 kB / 0.7651 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.5992, allocations: 202.2 kB / 0.7653 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005243/0.5998, allocations: 323.2 kB / 0.7656 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001945/0.6, allocations: 35.53 kB / 0.7656 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.6, allocations: 0 / 0.7656 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001435/0.6014, allocations: 0.7127 MB / 0.7663 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.6015, allocations: 89.05 kB / 0.7664 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.6029, allocations: 1.155 MB / 0.7675 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.6029, allocations: 45.69 kB / 0.7676 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/0.6034, allocations: 488.4 kB / 0.768 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/0.6035, allocations: 110.4 kB / 0.7681 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.6036, allocations: 41.7 kB / 0.7682 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6037, allocations: 326 kB / 0.7685 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.6041, allocations: 236.9 kB / 0.7687 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.6048, allocations: 0.546 MB / 0.7693 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.6058, allocations: 0.6867 MB / 0.7699 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6058, allocations: 0 / 0.7699 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001258/0.6071, allocations: 0.7749 MB / 0.7707 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.6072, allocations: 283.3 kB / 0.771 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.6073, allocations: 4 kB / 0.771 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.6073, allocations: 8 kB / 0.771 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.6078, allocations: 119.8 kB / 0.7711 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.6078, allocations: 8.109 kB / 0.7711 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/0.6087, allocations: 87.73 kB / 0.7712 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.6087, allocations: 31.97 kB / 0.7712 GB, free: 60 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/0.6087, allocations: 8 kB / 0.7712 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000992/0.6097, allocations: 0.579 MB / 0.7718 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6098, allocations: 4 kB / 0.7718 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.6098, allocations: 8 kB / 0.7718 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.6102, allocations: 120.4 kB / 0.7719 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6103, allocations: 15.92 kB / 0.7719 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007518/0.611, allocations: 75.83 kB / 0.772 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.6111, allocations: 24 kB / 0.772 GB, free: 15.22 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.0004728/0.6116, allocations: 475.8 kB / 0.7725 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.6117, allocations: 106.7 kB / 0.7726 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.6127, allocations: 0.5551 MB / 0.7731 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6127, allocations: 4 kB / 0.7731 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6127, allocations: 0 / 0.7731 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6127, allocations: 7.938 kB / 0.7731 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.6149, allocations: 1.497 MB / 0.7746 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6149, allocations: 4 kB / 0.7746 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.6153, allocations: 71.88 kB / 0.7747 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.6153, allocations: 4 kB / 0.7747 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.6153, allocations: 8 kB / 0.7747 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.6154, allocations: 11.94 kB / 0.7747 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6154, allocations: 4 kB / 0.7747 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.6164, allocations: 0.6801 MB / 0.7753 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.6167, allocations: 227.8 kB / 0.7756 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.6169, allocations: 8 kB / 0.7756 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.6175, allocations: 63.83 kB / 0.7756 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.6176, allocations: 23.97 kB / 0.7757 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.6177, allocations: 23.98 kB / 0.7757 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001125/0.6188, allocations: 0.8199 MB / 0.7765 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6188, allocations: 3.938 kB / 0.7765 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001068/0.6199, allocations: 427.4 kB / 0.7769 GB, free: 10.07 MB / 0.5919 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.001433/0.6213, allocations: 1.281 MB / 0.7781 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.6228, allocations: 0.912 MB / 0.779 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.6228, allocations: 0 / 0.779 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.6232, allocations: 243 kB / 0.7793 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/0.6267, allocations: 0.634 MB / 0.7799 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.6406, allocations: 9.213 MB / 0.7889 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007207/0.6414, allocations: 1.182 MB / 0.79 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001153/0.6426, allocations: 413 kB / 0.7904 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.643, allocations: 335.3 kB / 0.7907 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.643, allocations: 0 / 0.7907 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2909/0.934, allocations: 27.99 MB / 0.8181 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.9342, allocations: 265 kB / 0.8183 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.314, allocations: 0 / 0.8183 GB, free: 15.53 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)