Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.825/1.825, allocations: 288.2 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 182.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 0.6305 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 95.41 kB / 0.7439 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004401, allocations: 16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2548, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.7828/1.038, allocations: 135.7 MB / 1.112 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005489/1.043, allocations: 3.105 MB / 1.115 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/1.044, allocations: 11.62 kB / 1.115 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009614/1.045, allocations: 179.4 kB / 1.115 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/1.047, allocations: 0.4941 MB / 1.116 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/1.049, allocations: 454.3 kB / 1.116 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002502/1.051, allocations: 1.507 MB / 1.118 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/1.053, allocations: 0.7061 MB / 1.118 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/1.055, allocations: 0.6972 MB / 1.119 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/1.056, allocations: 499.2 kB / 1.119 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/1.056, allocations: 38.66 kB / 1.119 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/1.058, allocations: 411.9 kB / 1.12 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/1.058, allocations: 256.7 kB / 1.12 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005477/1.059, allocations: 232.5 kB / 1.12 GB, free: 17.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/1.06, allocations: 0.9745 MB / 1.121 GB, free: 16.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/1.06, allocations: 0 / 1.121 GB, free: 16.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.757e-06/1.06, allocations: 1.125 kB / 1.121 GB, free: 16.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.442e-05/1.06, allocations: 0 / 1.121 GB, free: 16.96 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.002825/1.063, allocations: 1.288 MB / 1.123 GB, free: 16.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.063, allocations: 8.875 kB / 1.123 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/1.063, allocations: 95.3 kB / 1.123 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009648/1.064, allocations: 185.7 kB / 1.123 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.066, allocations: 0.7966 MB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/1.066, allocations: 45.66 kB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/1.066, allocations: 58 kB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.067, allocations: 0.7906 MB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.067, allocations: 7.938 kB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/1.068, allocations: 22.41 kB / 1.125 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/1.068, allocations: 13 kB / 1.125 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009467/1.069, allocations: 0.5401 MB / 1.125 GB, free: 15.45 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.005354/1.074, allocations: 4.601 MB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/1.075, allocations: 444.5 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.818e-05/1.075, allocations: 18.89 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005447/1.075, allocations: 301 kB / 1.13 GB, free: 11.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.895e-06/1.075, allocations: 0 / 1.13 GB, free: 11.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.004246/1.08, allocations: 1.327 MB / 1.132 GB, free: 11.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/1.08, allocations: 108.8 kB / 1.132 GB, free: 11.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/1.081, allocations: 1.116 MB / 1.133 GB, free: 10.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/1.082, allocations: 36.33 kB / 1.133 GB, free: 10.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/1.082, allocations: 499.1 kB / 1.133 GB, free: 10.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/1.082, allocations: 106.3 kB / 1.133 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/1.082, allocations: 12.88 kB / 1.133 GB, free: 10.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.082, allocations: 329.5 kB / 1.134 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/1.083, allocations: 186.4 kB / 1.134 GB, free: 10.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/1.083, allocations: 0.4955 MB / 1.134 GB, free: 9.738 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.084, allocations: 297.4 kB / 1.135 GB, free: 9.637 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.084, allocations: 2.562 kB / 1.135 GB, free: 9.637 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002416/1.086, allocations: 0.9828 MB / 1.136 GB, free: 9.258 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009099/1.087, allocations: 2.119 MB / 1.138 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.087, allocations: 5.75 kB / 1.138 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/1.089, allocations: 342.2 kB / 1.138 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/1.089, allocations: 59.34 kB / 1.138 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/1.09, allocations: 1.013 MB / 1.139 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.091, allocations: 112.6 kB / 1.139 GB, free: 6.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.455e-05/1.091, allocations: 21.53 kB / 1.139 GB, free: 6.199 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.091, allocations: 3.531 kB / 1.139 GB, free: 6.199 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001541/1.093, allocations: 0.7528 MB / 1.14 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.093, allocations: 10.34 kB / 1.14 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/1.094, allocations: 209.2 kB / 1.14 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/1.094, allocations: 71.38 kB / 1.14 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/1.098, allocations: 3.17 MB / 1.143 GB, free: 3.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.1, allocations: 100.7 kB / 1.143 GB, free: 3.934 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/1.1, allocations: 19.91 kB / 1.143 GB, free: 3.934 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009335/1.101, allocations: 472.3 kB / 1.144 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/1.101, allocations: 102.9 kB / 1.144 GB, free: 3.609 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/1.102, allocations: 0.697 MB / 1.145 GB, free: 3.375 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.102, allocations: 6.906 kB / 1.145 GB, free: 3.371 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.102, allocations: 5.141 kB / 1.145 GB, free: 3.367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.102, allocations: 1.031 kB / 1.145 GB, free: 3.367 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/1.104, allocations: 1.097 MB / 1.146 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/1.104, allocations: 3.25 kB / 1.146 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/1.105, allocations: 33.52 kB / 1.146 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/1.105, allocations: 224.8 kB / 1.146 GB, free: 2.645 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/1.105, allocations: 9.062 kB / 1.146 GB, free: 2.645 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/1.106, allocations: 0.9861 MB / 1.147 GB, free: 2.008 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.106, allocations: 2.281 kB / 1.147 GB, free: 2.008 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/1.108, allocations: 0.8619 MB / 1.148 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/1.108, allocations: 222.5 kB / 1.148 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.108, allocations: 11.5 kB / 1.148 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/1.109, allocations: 59.84 kB / 1.148 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/1.109, allocations: 28.73 kB / 1.148 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/1.109, allocations: 11.16 kB / 1.148 GB, free: 1.328 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001354/1.11, allocations: 0.7878 MB / 1.149 GB, free: 1.066 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.11, allocations: 0 / 1.149 GB, free: 1.066 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001806/1.112, allocations: 453.2 kB / 1.149 GB, free: 1.031 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 (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002291/1.115, allocations: 1.85 MB / 1.151 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002582/1.117, allocations: 1.061 MB / 1.152 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.117, allocations: 1.312 kB / 1.152 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005388/1.118, allocations: 235.1 kB / 1.152 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/1.12, allocations: 453.9 kB / 1.153 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.142, allocations: 9.899 MB / 1.162 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.143, allocations: 1.205 MB / 1.164 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001445/1.145, allocations: 320.3 kB / 1.164 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/1.145, allocations: 309.3 kB / 1.164 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of SimCode: time 4.378e-06/1.145, allocations: 0 / 1.164 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06265/1.208, allocations: 28 MB / 1.192 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/1.208, allocations: 273.5 kB / 1.192 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.194, allocations: 3.516 kB / 1.192 GB, free: 3.453 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)