Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.477/1.477, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 167.3 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008515/0.0008515, allocations: 100.4 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000513/0.0005133, allocations: 12.66 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2779, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1976/0.4755, allocations: 157.4 MB / 1.055 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5465/1.022, allocations: 3.627 MB / 1.058 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005063/1.023, allocations: 8.312 kB / 1.058 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005795/1.023, allocations: 133.8 kB / 1.058 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/1.025, allocations: 0.4978 MB / 1.059 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/1.026, allocations: 396.5 kB / 1.059 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003477/1.03, allocations: 3.509 MB / 1.063 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/1.032, allocations: 2.228 MB / 1.065 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/1.035, allocations: 0.8718 MB / 1.066 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/1.036, allocations: 0.736 MB / 1.066 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/1.036, allocations: 36.05 kB / 1.066 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/1.038, allocations: 0.802 MB / 1.067 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/1.039, allocations: 282.4 kB / 1.067 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/1.04, allocations: 0.5401 MB / 1.068 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002566/1.042, allocations: 1.418 MB / 1.069 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.042, allocations: 0 / 1.069 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.566e-06/1.042, allocations: 1.422 kB / 1.069 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.042, allocations: 4 kB / 1.069 GB, free: 17.55 MB / 0.7136 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.002716/1.045, allocations: 1.325 MB / 1.071 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.045, allocations: 9.625 kB / 1.071 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/1.045, allocations: 94.39 kB / 1.071 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/1.046, allocations: 187.1 kB / 1.071 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/1.048, allocations: 0.8427 MB / 1.072 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/1.048, allocations: 42.75 kB / 1.072 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.049, allocations: 58.08 kB / 1.072 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/1.05, allocations: 0.8382 MB / 1.073 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.05, allocations: 7.609 kB / 1.073 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/1.05, allocations: 20.44 kB / 1.073 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/1.05, allocations: 13.72 kB / 1.073 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/1.051, allocations: 0.5736 MB / 1.073 GB, free: 16.04 MB / 0.7136 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.00445/1.056, allocations: 4.262 MB / 1.077 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/1.057, allocations: 445.2 kB / 1.078 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/1.057, allocations: 350.1 kB / 1.078 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/1.057, allocations: 200.9 kB / 1.078 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/1.058, allocations: 333.8 kB / 1.079 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004324/1.059, allocations: 34.06 kB / 1.079 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.795e-06/1.059, allocations: 5.703 kB / 1.079 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0015/1.06, allocations: 0.7189 MB / 1.079 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/1.06, allocations: 83.77 kB / 1.08 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/1.062, allocations: 1.163 MB / 1.081 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.257e-05/1.062, allocations: 37.14 kB / 1.081 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/1.063, allocations: 492 kB / 1.081 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.063, allocations: 114.1 kB / 1.081 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/1.063, allocations: 7.625 kB / 1.081 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.063, allocations: 331.3 kB / 1.082 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/1.063, allocations: 229.9 kB / 1.082 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/1.064, allocations: 0.5481 MB / 1.082 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/1.065, allocations: 0.6912 MB / 1.083 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.065, allocations: 1.375 kB / 1.083 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001444/1.067, allocations: 0.7801 MB / 1.084 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002142/1.067, allocations: 282.4 kB / 1.084 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.067, allocations: 5.375 kB / 1.084 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/1.067, allocations: 9 kB / 1.084 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/1.068, allocations: 119.9 kB / 1.084 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/1.068, allocations: 15.22 kB / 1.084 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.069, allocations: 93.14 kB / 1.084 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/1.069, allocations: 26.14 kB / 1.084 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.069, allocations: 3.906 kB / 1.084 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009806/1.07, allocations: 0.5835 MB / 1.085 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.07, allocations: 4.219 kB / 1.085 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.557e-06/1.07, allocations: 8 kB / 1.085 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/1.07, allocations: 114.9 kB / 1.085 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.07, allocations: 15.44 kB / 1.085 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008526/1.071, allocations: 91.55 kB / 1.085 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.009e-05/1.071, allocations: 25.92 kB / 1.085 GB, free: 10.8 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007278/1.072, allocations: 470.2 kB / 1.086 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/1.072, allocations: 106.9 kB / 1.086 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009627/1.073, allocations: 0.5546 MB / 1.086 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.073, allocations: 6.625 kB / 1.086 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.073, allocations: 3.031 kB / 1.086 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.073, allocations: 7 kB / 1.086 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/1.075, allocations: 1.512 MB / 1.088 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.075, allocations: 7.312 kB / 1.088 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/1.076, allocations: 64.28 kB / 1.088 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/1.076, allocations: 15.11 kB / 1.088 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/1.076, allocations: 9.469 kB / 1.088 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/1.076, allocations: 5.281 kB / 1.088 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.076, allocations: 5.875 kB / 1.088 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/1.076, allocations: 0.6681 MB / 1.088 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/1.077, allocations: 236.9 kB / 1.089 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.077, allocations: 10.66 kB / 1.089 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/1.078, allocations: 68.08 kB / 1.089 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.078, allocations: 33.05 kB / 1.089 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/1.078, allocations: 14.7 kB / 1.089 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001068/1.079, allocations: 0.82 MB / 1.09 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/1.079, allocations: 0 / 1.09 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001288/1.08, allocations: 427.8 kB / 1.09 GB, free: 9.469 MB / 0.7136 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.001486/1.082, allocations: 1.274 MB / 1.091 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001427/1.083, allocations: 0.9171 MB / 1.092 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.083, allocations: 0 / 1.092 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/1.083, allocations: 235.1 kB / 1.092 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.087, allocations: 0.6456 MB / 1.093 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.101, allocations: 9.23 MB / 1.102 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008352/1.102, allocations: 1.181 MB / 1.103 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001439/1.104, allocations: 448.2 kB / 1.104 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/1.104, allocations: 335.5 kB / 1.104 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.104, allocations: 0 / 1.104 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06143/1.166, allocations: 28.06 MB / 1.131 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/1.166, allocations: 283.6 kB / 1.132 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.451/4.617, allocations: 0 / 1.132 GB, free: 9.203 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)