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.738/1.738, allocations: 288.4 MB / 303.3 MB, free: 8.23 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.001036/0.001037, allocations: 192.4 kB / 372 MB, free: 10.27 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.702/1.702, allocations: 205.4 MB / 0.6307 GB, free: 9.883 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.0008021/0.000802, allocations: 94.23 kB / 0.7441 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.000426, allocations: 11.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2512, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.7553/1.006, allocations: 146.7 MB / 1.123 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005591/1.012, allocations: 3.354 MB / 1.126 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005692/1.013, allocations: 11.91 kB / 1.126 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005622/1.013, allocations: 110.2 kB / 1.126 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/1.015, allocations: 391.5 kB / 1.127 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/1.016, allocations: 371.6 kB / 1.127 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003609/1.02, allocations: 2.994 MB / 1.13 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/1.021, allocations: 0.6936 MB / 1.131 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/1.024, allocations: 0.8705 MB / 1.132 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/1.025, allocations: 0.7069 MB / 1.132 GB, free: 488 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/1.025, allocations: 32.84 kB / 1.132 GB, free: 488 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/1.027, allocations: 0.5574 MB / 1.133 GB, free: 440 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004539/1.028, allocations: 283.2 kB / 1.133 GB, free: 396 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000621/1.028, allocations: 236 kB / 1.133 GB, free: 16.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/1.03, allocations: 1.023 MB / 1.134 GB, free: 16.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.03, allocations: 3.281 kB / 1.134 GB, free: 16.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.22e-06/1.03, allocations: 0 / 1.134 GB, free: 16.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.64e-05/1.03, allocations: 1.531 kB / 1.134 GB, free: 16.21 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.002861/1.033, allocations: 1.297 MB / 1.136 GB, free: 15.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.033, allocations: 9.094 kB / 1.136 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000214/1.033, allocations: 97.84 kB / 1.136 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009401/1.034, allocations: 186 kB / 1.136 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/1.036, allocations: 0.8021 MB / 1.137 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/1.036, allocations: 43.8 kB / 1.137 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/1.037, allocations: 55.16 kB / 1.137 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/1.038, allocations: 0.7992 MB / 1.137 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/1.038, allocations: 3.5 kB / 1.137 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.385e-05/1.038, allocations: 21.19 kB / 1.138 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/1.038, allocations: 12.03 kB / 1.138 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009836/1.039, allocations: 0.5436 MB / 1.138 GB, free: 14.44 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.005782/1.045, allocations: 4.61 MB / 1.143 GB, free: 10.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000893/1.046, allocations: 432.5 kB / 1.143 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/1.046, allocations: 252.6 kB / 1.143 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/1.047, allocations: 192.1 kB / 1.143 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006007/1.047, allocations: 295.8 kB / 1.144 GB, free: 10.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 5.54e-06/1.047, allocations: 1.312 kB / 1.144 GB, free: 10.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.004783/1.052, allocations: 1.343 MB / 1.145 GB, free: 9.461 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/1.052, allocations: 81.14 kB / 1.145 GB, free: 9.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/1.054, allocations: 1.113 MB / 1.146 GB, free: 9.012 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/1.054, allocations: 39.73 kB / 1.146 GB, free: 8.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/1.055, allocations: 493.8 kB / 1.147 GB, free: 8.762 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.055, allocations: 116.3 kB / 1.147 GB, free: 8.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/1.055, allocations: 7 kB / 1.147 GB, free: 8.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.055, allocations: 322.7 kB / 1.147 GB, free: 8.371 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/1.056, allocations: 185 kB / 1.147 GB, free: 8.332 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/1.056, allocations: 0.4985 MB / 1.148 GB, free: 7.906 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/1.057, allocations: 291 kB / 1.148 GB, free: 7.812 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/1.057, allocations: 1.969 kB / 1.148 GB, free: 7.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002765/1.06, allocations: 1.001 MB / 1.149 GB, free: 7.414 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000266/1.06, allocations: 278.6 kB / 1.149 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.06, allocations: 4.531 kB / 1.149 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/1.062, allocations: 341 kB / 1.15 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/1.062, allocations: 65.77 kB / 1.15 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/1.063, allocations: 1.015 MB / 1.151 GB, free: 6.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/1.065, allocations: 103.2 kB / 1.151 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.065, allocations: 29.7 kB / 1.151 GB, free: 6.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.065, allocations: 4.438 kB / 1.151 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001679/1.066, allocations: 0.7287 MB / 1.152 GB, free: 6.039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.066, allocations: 10.53 kB / 1.152 GB, free: 6.035 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/1.067, allocations: 214.8 kB / 1.152 GB, free: 5.977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/1.067, allocations: 67.53 kB / 1.152 GB, free: 5.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0045/1.072, allocations: 3.109 MB / 1.155 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.073, allocations: 94.25 kB / 1.155 GB, free: 4.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.073, allocations: 23.83 kB / 1.155 GB, free: 4.031 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.0009478/1.074, allocations: 467.1 kB / 1.155 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/1.075, allocations: 102.3 kB / 1.155 GB, free: 3.711 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/1.076, allocations: 0.7154 MB / 1.156 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.076, allocations: 3.344 kB / 1.156 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.076, allocations: 1.125 kB / 1.156 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.076, allocations: 11.11 kB / 1.156 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/1.08, allocations: 1.615 MB / 1.158 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/1.08, allocations: 5.594 kB / 1.158 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/1.08, allocations: 31.22 kB / 1.158 GB, free: 2.648 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/1.08, allocations: 215.8 kB / 1.158 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/1.08, allocations: 8.312 kB / 1.158 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/1.081, allocations: 0.9864 MB / 1.159 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.081, allocations: 1.562 kB / 1.159 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/1.083, allocations: 0.8484 MB / 1.16 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/1.084, allocations: 221.2 kB / 1.16 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.084, allocations: 9.172 kB / 1.16 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000605/1.085, allocations: 56.59 kB / 1.16 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/1.085, allocations: 31.91 kB / 1.16 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/1.085, allocations: 16.69 kB / 1.16 GB, free: 1.312 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001386/1.086, allocations: 0.7917 MB / 1.161 GB, free: 1.047 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.086, allocations: 0 / 1.161 GB, free: 1.047 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001976/1.088, allocations: 449.4 kB / 1.161 GB, free: 1.016 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.002055/1.09, allocations: 1.37 MB / 1.163 GB, free: 100 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002251/1.092, allocations: 1.052 MB / 1.164 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.092, allocations: 4.062 kB / 1.164 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/1.093, allocations: 238.2 kB / 1.164 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.096, allocations: 470.8 kB / 1.164 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.111, allocations: 6.577 MB / 1.171 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009263/1.112, allocations: 1.186 MB / 1.172 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001264/1.113, allocations: 314.9 kB / 1.172 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/1.114, allocations: 315.3 kB / 1.173 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/1.114, allocations: 0 / 1.173 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0585/1.172, allocations: 28.02 MB / 1.2 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/1.173, allocations: 289 kB / 1.2 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/4.264, allocations: 4 kB / 1.2 GB, free: 3.984 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)