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.525/1.525, allocations: 252 MB / 267 MB, free: 10.97 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.001384/0.001384, allocations: 186.4 kB / 326.6 MB, free: 2.227 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.823/1.823, allocations: 205.4 MB / 0.5777 GB, free: 20.62 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.0008175/0.0008173, allocations: 94.47 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 10.5 kB / 0.7965 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2255, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1629/0.3885, allocations: 146.9 MB / 1.044 GB, free: 13.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005281/0.3938, allocations: 3.422 MB / 1.047 GB, free: 9.609 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000426/0.3943, allocations: 7.938 kB / 1.047 GB, free: 9.602 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.3948, allocations: 111.2 kB / 1.047 GB, free: 9.492 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.396, allocations: 398.2 kB / 1.048 GB, free: 9.102 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.3973, allocations: 372.4 kB / 1.048 GB, free: 8.742 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003081/0.4004, allocations: 3.024 MB / 1.051 GB, free: 5.711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.4032, allocations: 2.149 MB / 1.053 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.4054, allocations: 0.8715 MB / 1.054 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.4066, allocations: 0.7001 MB / 1.055 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.4068, allocations: 32 kB / 1.055 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.4081, allocations: 0.5574 MB / 1.055 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003122/0.4084, allocations: 286.9 kB / 1.055 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003883/0.4088, allocations: 229.1 kB / 1.056 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.5321/0.941, allocations: 1.033 MB / 1.057 GB, free: 7.953 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.941, allocations: 0 / 1.057 GB, free: 7.953 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.941, allocations: 0 / 1.057 GB, free: 7.953 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.157e-05/0.9411, allocations: 0 / 1.057 GB, free: 7.953 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.002445/0.9436, allocations: 1.339 MB / 1.058 GB, free: 7.223 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.9436, allocations: 10.53 kB / 1.058 GB, free: 7.223 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.9437, allocations: 96.27 kB / 1.058 GB, free: 7.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006938/0.9444, allocations: 183.1 kB / 1.058 GB, free: 7.125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.9457, allocations: 0.8007 MB / 1.059 GB, free: 6.805 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.9458, allocations: 52.33 kB / 1.059 GB, free: 6.805 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/0.9459, allocations: 56.69 kB / 1.059 GB, free: 6.805 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.947, allocations: 0.8259 MB / 1.06 GB, free: 6.578 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.947, allocations: 6.688 kB / 1.06 GB, free: 6.578 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/0.9471, allocations: 26.05 kB / 1.06 GB, free: 6.578 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.9471, allocations: 18.09 kB / 1.06 GB, free: 6.574 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009012/0.948, allocations: 0.5655 MB / 1.06 GB, free: 6.574 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.004087/0.9521, allocations: 4.26 MB / 1.065 GB, free: 19.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.9529, allocations: 444.3 kB / 1.065 GB, free: 19.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.9535, allocations: 352.5 kB / 1.065 GB, free: 19.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.9538, allocations: 192.6 kB / 1.066 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005746/0.9544, allocations: 331 kB / 1.066 GB, free: 19.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002823/0.9547, allocations: 29.33 kB / 1.066 GB, free: 19.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.9547, allocations: 0 / 1.066 GB, free: 19.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001426/0.9561, allocations: 0.7181 MB / 1.067 GB, free: 19.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.9562, allocations: 83.86 kB / 1.067 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.9578, allocations: 1.149 MB / 1.068 GB, free: 19.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.9579, allocations: 40.53 kB / 1.068 GB, free: 19.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.9583, allocations: 484.2 kB / 1.068 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.9584, allocations: 120.2 kB / 1.068 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.9585, allocations: 9.688 kB / 1.068 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.9586, allocations: 324.2 kB / 1.069 GB, free: 18.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.9591, allocations: 210.9 kB / 1.069 GB, free: 18.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/0.9598, allocations: 0.5187 MB / 1.069 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.9604, allocations: 320.7 kB / 1.07 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.9605, allocations: 1.469 kB / 1.07 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001653/0.9621, allocations: 0.7276 MB / 1.07 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.9623, allocations: 281.4 kB / 1.071 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.9624, allocations: 5.844 kB / 1.071 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.9624, allocations: 8.344 kB / 1.071 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.963, allocations: 120.7 kB / 1.071 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.963, allocations: 11.14 kB / 1.071 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.9641, allocations: 84.44 kB / 1.071 GB, free: 17.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.9642, allocations: 26.66 kB / 1.071 GB, free: 17.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.9642, allocations: 4.25 kB / 1.071 GB, free: 17.63 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001174/0.9654, allocations: 0.5803 MB / 1.072 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.9654, allocations: 10.38 kB / 1.072 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.9654, allocations: 10.17 kB / 1.072 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.9659, allocations: 117.4 kB / 1.072 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.9659, allocations: 12.7 kB / 1.072 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009978/0.9669, allocations: 90.19 kB / 1.072 GB, free: 17.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/0.967, allocations: 23.44 kB / 1.072 GB, free: 17.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008804/0.9679, allocations: 475.2 kB / 1.072 GB, free: 17.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.9681, allocations: 105.9 kB / 1.072 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.9694, allocations: 0.5467 MB / 1.073 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.9694, allocations: 11.7 kB / 1.073 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9694, allocations: 4.453 kB / 1.073 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9694, allocations: 0.5 kB / 1.073 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.9721, allocations: 1.507 MB / 1.074 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.9722, allocations: 5.531 kB / 1.074 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.9726, allocations: 79.91 kB / 1.074 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.9726, allocations: 6.234 kB / 1.074 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.9726, allocations: 9.859 kB / 1.074 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.9726, allocations: 3.672 kB / 1.074 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.9726, allocations: 2.094 kB / 1.074 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.9738, allocations: 0.6744 MB / 1.075 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.9742, allocations: 234.2 kB / 1.075 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.9743, allocations: 11.12 kB / 1.075 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/0.975, allocations: 63.78 kB / 1.075 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.9751, allocations: 39.5 kB / 1.075 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.9752, allocations: 10.39 kB / 1.075 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001286/0.9765, allocations: 0.8136 MB / 1.076 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9765, allocations: 0 / 1.076 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001635/0.9781, allocations: 434.6 kB / 1.077 GB, free: 16.24 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 (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.00163/0.9798, allocations: 1.278 MB / 1.078 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.9814, allocations: 0.8849 MB / 1.079 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9815, allocations: 2 kB / 1.079 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.9819, allocations: 236.2 kB / 1.079 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/0.9854, allocations: 0.6478 MB / 1.08 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.9977, allocations: 6.495 MB / 1.086 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.9984, allocations: 1.181 MB / 1.087 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001401/0.9998, allocations: 438.7 kB / 1.088 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/1, allocations: 336.5 kB / 1.088 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/1, allocations: 0 / 1.088 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05435/1.055, allocations: 28.53 MB / 1.116 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/1.055, allocations: 257.5 kB / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/3.989, allocations: 0 / 1.116 GB, free: 4.023 MB / 0.7136 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)