Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.767/1.767, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001166/0.001166, allocations: 182.6 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.871/1.871, allocations: 205.4 MB / 0.6305 GB, free: 9.918 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.0009678/0.0009681, allocations: 97.61 kB / 0.7439 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004562, allocations: 11.81 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/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.SeriesFlowOptimised): time 0.7831/1.038, allocations: 135.7 MB / 1.112 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003343/1.041, allocations: 1.664 MB / 1.114 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/1.042, allocations: 8.969 kB / 1.114 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007336/1.043, allocations: 177.9 kB / 1.114 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/1.044, allocations: 0.494 MB / 1.114 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/1.046, allocations: 413.1 kB / 1.115 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00212/1.048, allocations: 1.492 MB / 1.116 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/1.049, allocations: 0.7009 MB / 1.117 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/1.051, allocations: 0.7024 MB / 1.118 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006684/1.051, allocations: 492.4 kB / 1.118 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.391e-05/1.052, allocations: 34.03 kB / 1.118 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/1.053, allocations: 415.4 kB / 1.118 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/1.053, allocations: 253.6 kB / 1.119 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003804/1.053, allocations: 230.6 kB / 1.119 GB, free: 17.21 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/1.055, allocations: 0.974 MB / 1.12 GB, free: 17.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.055, allocations: 3.125 kB / 1.12 GB, free: 17.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/1.055, allocations: 0 / 1.12 GB, free: 17.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.471e-05/1.055, allocations: 5.094 kB / 1.12 GB, free: 17.11 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002497/1.057, allocations: 1.28 MB / 1.121 GB, free: 16.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.057, allocations: 13.12 kB / 1.121 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/1.057, allocations: 96.66 kB / 1.121 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008833/1.058, allocations: 179.8 kB / 1.121 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/1.06, allocations: 0.8049 MB / 1.122 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/1.06, allocations: 45.23 kB / 1.122 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/1.06, allocations: 59.38 kB / 1.122 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/1.061, allocations: 0.7885 MB / 1.123 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/1.062, allocations: 6.719 kB / 1.123 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/1.062, allocations: 19.88 kB / 1.123 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/1.062, allocations: 12.97 kB / 1.123 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/1.062, allocations: 0.5496 MB / 1.124 GB, free: 15.59 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.004529/1.067, allocations: 4.593 MB / 1.128 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/1.068, allocations: 439.2 kB / 1.128 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-05/1.068, allocations: 22.06 kB / 1.129 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000509/1.068, allocations: 291.1 kB / 1.129 GB, free: 11.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/1.068, allocations: 2.531 kB / 1.129 GB, free: 11.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001417/1.07, allocations: 0.6426 MB / 1.129 GB, free: 11.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/1.07, allocations: 112.3 kB / 1.13 GB, free: 11.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/1.071, allocations: 1.118 MB / 1.131 GB, free: 11.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/1.071, allocations: 38.77 kB / 1.131 GB, free: 11.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/1.072, allocations: 489.5 kB / 1.131 GB, free: 11.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/1.072, allocations: 104.2 kB / 1.131 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/1.072, allocations: 10 kB / 1.131 GB, free: 11.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.072, allocations: 329.2 kB / 1.132 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/1.072, allocations: 183.8 kB / 1.132 GB, free: 10.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/1.073, allocations: 0.4927 MB / 1.132 GB, free: 10.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/1.073, allocations: 298 kB / 1.132 GB, free: 10.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.073, allocations: 5.328 kB / 1.132 GB, free: 10.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001115/1.075, allocations: 0.6792 MB / 1.133 GB, free: 10.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009088/1.076, allocations: 2.131 MB / 1.135 GB, free: 7.777 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.076, allocations: 6.625 kB / 1.135 GB, free: 7.777 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.076, allocations: 7.469 kB / 1.135 GB, free: 7.777 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/1.076, allocations: 116 kB / 1.135 GB, free: 7.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.076, allocations: 7.188 kB / 1.135 GB, free: 7.746 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000986/1.077, allocations: 108.2 kB / 1.135 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/1.077, allocations: 25.62 kB / 1.135 GB, free: 7.695 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/1.077, allocations: 3.281 kB / 1.135 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009567/1.078, allocations: 0.5451 MB / 1.136 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.078, allocations: 10 kB / 1.136 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.078, allocations: 8.281 kB / 1.136 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/1.078, allocations: 113.1 kB / 1.136 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/1.078, allocations: 9.75 kB / 1.136 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/1.079, allocations: 97.95 kB / 1.136 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/1.079, allocations: 29.16 kB / 1.136 GB, free: 7.449 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 (53): * Single equations (assignments): 52 * 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.0006866/1.08, allocations: 474.2 kB / 1.137 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/1.08, allocations: 100.6 kB / 1.137 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009195/1.081, allocations: 479.8 kB / 1.137 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.081, allocations: 7.25 kB / 1.137 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.081, allocations: 1.344 kB / 1.137 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.081, allocations: 1.438 kB / 1.137 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/1.083, allocations: 1.101 MB / 1.138 GB, free: 6.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.083, allocations: 1.531 kB / 1.138 GB, free: 6.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/1.083, allocations: 72.66 kB / 1.138 GB, free: 6.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/1.083, allocations: 7.828 kB / 1.138 GB, free: 6.316 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/1.083, allocations: 10.89 kB / 1.138 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/1.083, allocations: 7.953 kB / 1.138 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.083, allocations: 2.031 kB / 1.138 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009618/1.084, allocations: 0.6373 MB / 1.139 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/1.085, allocations: 222.7 kB / 1.139 GB, free: 5.762 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.085, allocations: 6.75 kB / 1.139 GB, free: 5.762 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/1.085, allocations: 51.98 kB / 1.139 GB, free: 5.742 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.086, allocations: 40.48 kB / 1.139 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/1.086, allocations: 9.406 kB / 1.139 GB, free: 5.723 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001171/1.087, allocations: 0.7859 MB / 1.14 GB, free: 5.461 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.087, allocations: 0 / 1.14 GB, free: 5.461 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00153/1.088, allocations: 408.5 kB / 1.141 GB, free: 5.43 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 (31): * Single equations (assignments): 29 * 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.001985/1.09, allocations: 1.715 MB / 1.142 GB, free: 4.043 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001623/1.092, allocations: 0.7981 MB / 1.143 GB, free: 3.758 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.092, allocations: 4.938 kB / 1.143 GB, free: 3.754 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004265/1.092, allocations: 205.8 kB / 1.143 GB, free: 3.707 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/1.095, allocations: 456.4 kB / 1.144 GB, free: 3.562 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.113, allocations: 9.556 MB / 1.153 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.115, allocations: 1.202 MB / 1.154 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001735/1.116, allocations: 421.9 kB / 1.155 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006395/1.117, allocations: 317.8 kB / 1.155 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of SimCode: time 1.673e-06/1.117, allocations: 1.375 kB / 1.155 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05328/1.17, allocations: 25.53 MB / 1.18 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/1.171, allocations: 253.3 kB / 1.18 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/3.86, allocations: 0 / 1.18 GB, free: 13.5 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)