Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_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.0006778/0.0006778, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 170.6 kB / 16.58 MB, free: 6.852 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.163/1.163, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5908/0.5908, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.0002599, allocations: 8 kB / 493.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1133, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.344/0.4573, allocations: 146.7 MB / 0.7002 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003442/0.4607, allocations: 3.371 MB / 0.7035 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.4609, allocations: 15.88 kB / 0.7035 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.4612, allocations: 115.2 kB / 0.7036 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007602/0.462, allocations: 390.1 kB / 0.704 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000781/0.4628, allocations: 370.4 kB / 0.7043 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.4653, allocations: 3.018 MB / 0.7073 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.4674, allocations: 2.152 MB / 0.7094 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009888/0.4684, allocations: 0.8637 MB / 0.7102 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.4691, allocations: 0.7001 MB / 0.7109 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.4692, allocations: 36 kB / 0.7109 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008597/0.47, allocations: 0.5574 MB / 0.7115 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.4703, allocations: 278.9 kB / 0.7117 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.4705, allocations: 237.1 kB / 0.712 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009285/0.4714, allocations: 1.041 MB / 0.713 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4714, allocations: 0 / 0.713 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4714, allocations: 0 / 0.713 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.4714, allocations: 0 / 0.713 GB, free: 11.05 MB / 0.5294 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.001699/0.4731, allocations: 1.335 MB / 0.7143 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.4732, allocations: 12.03 kB / 0.7143 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.358e-05/0.4733, allocations: 98.52 kB / 0.7144 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/0.4739, allocations: 186.5 kB / 0.7146 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.4751, allocations: 0.8041 MB / 0.7154 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.4751, allocations: 45 kB / 0.7154 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.4752, allocations: 60 kB / 0.7155 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.4763, allocations: 0.8393 MB / 0.7163 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4763, allocations: 7.938 kB / 0.7163 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.4763, allocations: 24 kB / 0.7163 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4764, allocations: 15.94 kB / 0.7163 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.4772, allocations: 0.5657 MB / 0.7169 GB, free: 6.871 MB / 0.5294 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.003244/0.4805, allocations: 4.259 MB / 0.721 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.4811, allocations: 442.2 kB / 0.7215 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.4816, allocations: 350.5 kB / 0.7218 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.4818, allocations: 194.2 kB / 0.722 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005354/0.4824, allocations: 335.1 kB / 0.7223 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001361/0.4825, allocations: 27.69 kB / 0.7223 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.4825, allocations: 0 / 0.7223 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001223/0.4838, allocations: 0.7153 MB / 0.723 GB, free: 236 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.4838, allocations: 89.09 kB / 0.7231 GB, free: 128 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.485, allocations: 1.151 MB / 0.7242 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.485, allocations: 33.7 kB / 0.7243 GB, free: 14.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.4854, allocations: 496.5 kB / 0.7247 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.4855, allocations: 114.5 kB / 0.7248 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.4855, allocations: 8 kB / 0.7249 GB, free: 14.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.4856, allocations: 326 kB / 0.7252 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.4859, allocations: 205 kB / 0.7254 GB, free: 13.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.4864, allocations: 0.5189 MB / 0.7259 GB, free: 13.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.4868, allocations: 311.1 kB / 0.7262 GB, free: 12.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4869, allocations: 0 / 0.7262 GB, free: 12.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001006/0.4879, allocations: 0.7376 MB / 0.7269 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.488, allocations: 278.6 kB / 0.7272 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.488, allocations: 4 kB / 0.7272 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4881, allocations: 12 kB / 0.7272 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.4885, allocations: 119.8 kB / 0.7273 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.4885, allocations: 15.92 kB / 0.7273 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.4892, allocations: 83.84 kB / 0.7274 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.4892, allocations: 27.98 kB / 0.7274 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.4892, allocations: 4 kB / 0.7274 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008331/0.4901, allocations: 0.5872 MB / 0.728 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4901, allocations: 4 kB / 0.728 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/0.4901, allocations: 8 kB / 0.728 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.4905, allocations: 111.8 kB / 0.7281 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4905, allocations: 15.92 kB / 0.7281 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.4911, allocations: 95.97 kB / 0.7282 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.4912, allocations: 24 kB / 0.7282 GB, free: 10.61 MB / 0.545 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.0003927/0.4916, allocations: 472.6 kB / 0.7287 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4917, allocations: 103.1 kB / 0.7288 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.4925, allocations: 0.5544 MB / 0.7293 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4926, allocations: 4 kB / 0.7293 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4926, allocations: 4 kB / 0.7293 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4926, allocations: 3.984 kB / 0.7293 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.4944, allocations: 1.516 MB / 0.7308 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4944, allocations: 3.984 kB / 0.7308 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.4947, allocations: 72.11 kB / 0.7309 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.4947, allocations: 4 kB / 0.7309 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.4947, allocations: 15.98 kB / 0.7309 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4947, allocations: 4 kB / 0.7309 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4947, allocations: 4 kB / 0.7309 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.4955, allocations: 0.6626 MB / 0.7316 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.4958, allocations: 235.7 kB / 0.7318 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.4959, allocations: 8 kB / 0.7318 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.4964, allocations: 67.77 kB / 0.7319 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.4965, allocations: 35.91 kB / 0.7319 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.4965, allocations: 12 kB / 0.7319 GB, free: 6.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000861/0.4974, allocations: 0.8159 MB / 0.7327 GB, free: 5.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4974, allocations: 0 / 0.7327 GB, free: 5.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008913/0.4983, allocations: 423.5 kB / 0.7331 GB, free: 5.461 MB / 0.545 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.001197/0.4995, allocations: 1.287 MB / 0.7344 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.5007, allocations: 0.8849 MB / 0.7352 GB, free: 3.223 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5007, allocations: 0 / 0.7352 GB, free: 3.223 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/0.501, allocations: 240.1 kB / 0.7354 GB, free: 2.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.5035, allocations: 0.6455 MB / 0.7361 GB, free: 2.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009393/0.5129, allocations: 6.491 MB / 0.7424 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.5136, allocations: 1.174 MB / 0.7436 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009709/0.5145, allocations: 444 kB / 0.744 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.5149, allocations: 343.3 kB / 0.7443 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5149, allocations: 0 / 0.7443 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03787/0.5528, allocations: 28.51 MB / 0.7722 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.553, allocations: 245 kB / 0.7724 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.48, allocations: 0 / 0.7724 GB, free: 13.23 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: