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.5/1.5, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001233/0.001233, allocations: 187.4 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008789/0.000879, allocations: 106.2 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005469/0.0005471, allocations: 8.344 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2713, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1657/0.4371, allocations: 135.8 MB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005014/0.4421, allocations: 3.162 MB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.4426, allocations: 11.88 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.4433, allocations: 183.2 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.4449, allocations: 0.4986 MB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.4465, allocations: 498.9 kB / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002045/0.4485, allocations: 1.511 MB / 1.038 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.4515, allocations: 2.188 MB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.4533, allocations: 0.7007 MB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.454, allocations: 493.8 kB / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/0.4541, allocations: 36 kB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.4552, allocations: 415.4 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.4555, allocations: 259.1 kB / 1.042 GB, free: 13.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.4558, allocations: 229.1 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.457, allocations: 0.9863 MB / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4571, allocations: 0 / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.557e-06/0.4571, allocations: 0 / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.4571, allocations: 3.938 kB / 1.044 GB, free: 12.56 MB / 0.698 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.002539/0.4596, allocations: 1.323 MB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.4597, allocations: 12.03 kB / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.4599, allocations: 98.45 kB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007921/0.4607, allocations: 178.5 kB / 1.045 GB, free: 10.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.4623, allocations: 0.8042 MB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.4624, allocations: 41 kB / 1.046 GB, free: 9.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.4625, allocations: 60 kB / 1.046 GB, free: 9.922 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.4638, allocations: 0.8346 MB / 1.047 GB, free: 9.012 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4638, allocations: 3.938 kB / 1.047 GB, free: 9.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.4639, allocations: 24 kB / 1.047 GB, free: 8.984 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.4639, allocations: 12 kB / 1.047 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009806/0.4649, allocations: 0.5696 MB / 1.048 GB, free: 8.402 MB / 0.698 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.004784/0.4697, allocations: 4.262 MB / 1.052 GB, free: 3.875 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.4705, allocations: 455.3 kB / 1.052 GB, free: 3.422 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.023e-05/0.4706, allocations: 19.92 kB / 1.052 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006178/0.4712, allocations: 336 kB / 1.052 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002948/0.4715, allocations: 31.69 kB / 1.052 GB, free: 3.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.454e-06/0.4715, allocations: 0 / 1.052 GB, free: 3.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001553/0.4731, allocations: 0.7135 MB / 1.053 GB, free: 2.305 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.4732, allocations: 106.8 kB / 1.053 GB, free: 2.176 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.4747, allocations: 1.151 MB / 1.054 GB, free: 1.008 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.4747, allocations: 41.69 kB / 1.054 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.4752, allocations: 488.5 kB / 1.055 GB, free: 492 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.4753, allocations: 114.4 kB / 1.055 GB, free: 376 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.4753, allocations: 8 kB / 1.055 GB, free: 368 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4755, allocations: 330 kB / 1.055 GB, free: 32 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.551/1.026, allocations: 201.5 kB / 1.056 GB, free: 155.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/1.027, allocations: 0.521 MB / 1.056 GB, free: 155.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/1.028, allocations: 306.9 kB / 1.056 GB, free: 155.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.028, allocations: 4.562 kB / 1.056 GB, free: 155.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001344/1.029, allocations: 0.7314 MB / 1.057 GB, free: 155.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005193/1.03, allocations: 2.138 MB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.03, allocations: 8.734 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/1.03, allocations: 8.125 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/1.03, allocations: 114.7 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.03, allocations: 8.156 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/1.031, allocations: 88.08 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/1.031, allocations: 33.09 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/1.031, allocations: 6.453 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008887/1.032, allocations: 0.5818 MB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/1.032, allocations: 6.031 kB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/1.032, allocations: 9.031 kB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/1.033, allocations: 118.3 kB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.033, allocations: 12.81 kB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/1.033, allocations: 86.67 kB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/1.033, allocations: 24.05 kB / 1.06 GB, free: 152.9 MB / 0.698 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.0005535/1.034, allocations: 465.4 kB / 1.061 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.034, allocations: 109.8 kB / 1.061 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008724/1.035, allocations: 0.5342 MB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.974e-06/1.035, allocations: 6.391 kB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.035, allocations: 0 / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.035, allocations: 2.875 kB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/1.037, allocations: 1.161 MB / 1.062 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/1.037, allocations: 3.344 kB / 1.062 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/1.037, allocations: 70.02 kB / 1.062 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/1.037, allocations: 7.125 kB / 1.062 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/1.037, allocations: 10.52 kB / 1.062 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.037, allocations: 3.531 kB / 1.063 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.037, allocations: 11.45 kB / 1.063 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009076/1.038, allocations: 0.6767 MB / 1.063 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/1.039, allocations: 238.1 kB / 1.063 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.039, allocations: 13.73 kB / 1.063 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/1.039, allocations: 66.86 kB / 1.063 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.039, allocations: 40.45 kB / 1.064 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/1.039, allocations: 13.36 kB / 1.064 GB, free: 151.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001116/1.041, allocations: 0.8128 MB / 1.064 GB, free: 151.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/1.041, allocations: 0 / 1.064 GB, free: 151.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001139/1.042, allocations: 423 kB / 1.065 GB, free: 151.6 MB / 0.698 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.001674/1.043, allocations: 1.786 MB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001889/1.045, allocations: 0.8892 MB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.045, allocations: 0.6875 kB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004902/1.046, allocations: 238.4 kB / 1.068 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/1.049, allocations: 0.6305 MB / 1.068 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.065, allocations: 9.787 MB / 1.078 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.066, allocations: 1.2 MB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00187/1.068, allocations: 443.8 kB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/1.068, allocations: 337.9 kB / 1.08 GB, free: 143.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.275e-06/1.068, allocations: 0 / 1.08 GB, free: 143.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05378/1.122, allocations: 28.5 MB / 1.107 GB, free: 121.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.122, allocations: 257.9 kB / 1.108 GB, free: 120.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.969/4.091, allocations: 4 kB / 1.108 GB, free: 120.7 MB / 0.698 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)