Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.077/2.077, allocations: 251 MB / 265.9 MB, free: 11.68 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.001725/0.001724, allocations: 186.2 kB / 325.5 MB, free: 2.879 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.31/2.31, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001151/0.00115, allocations: 90.72 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006313/0.0006313, allocations: 12.41 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2045, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.431/6.635, allocations: 2.184 GB / 3.083 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/6.635, allocations: 98.39 kB / 3.083 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.03/16.66, allocations: 1.923 GB / 5.006 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.815e-06/16.66, allocations: 4 kB / 5.006 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002146/16.66, allocations: 39.92 kB / 5.006 GB, free: 144.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.009061/16.67, allocations: 1.564 MB / 5.008 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/16.67, allocations: 12.03 kB / 5.008 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005249/16.67, allocations: 98.52 kB / 5.008 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/16.67, allocations: 202.4 kB / 5.008 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006836/16.68, allocations: 1.469 MB / 5.01 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/16.68, allocations: 45.31 kB / 5.01 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/16.68, allocations: 68 kB / 5.01 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/16.68, allocations: 0.9476 MB / 5.011 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/16.68, allocations: 7.938 kB / 5.011 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.893e-05/16.68, allocations: 23.98 kB / 5.011 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/16.68, allocations: 16 kB / 5.011 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/16.68, allocations: 0.7493 MB / 5.011 GB, free: 139.1 MB / 0.8855 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.006392/16.69, allocations: 4.716 MB / 5.016 GB, free: 134 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/16.69, allocations: 4.009 MB / 5.02 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000426/16.69, allocations: 202.2 kB / 5.02 GB, free: 129 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008161/16.69, allocations: 324.8 kB / 5.021 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006614/16.7, allocations: 27.69 kB / 5.021 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.076e-06/16.7, allocations: 0 / 5.021 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.006278/16.7, allocations: 1.419 MB / 5.022 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/16.7, allocations: 81.11 kB / 5.022 GB, free: 127 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/16.7, allocations: 1.046 MB / 5.023 GB, free: 126 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/16.7, allocations: 41.7 kB / 5.023 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/16.7, allocations: 0.5166 MB / 5.024 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/16.7, allocations: 118.3 kB / 5.024 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/16.7, allocations: 12 kB / 5.024 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.361e-05/16.7, allocations: 329.9 kB / 5.024 GB, free: 125 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/16.71, allocations: 205 kB / 5.024 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/16.71, allocations: 0.5599 MB / 5.025 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/16.71, allocations: 335.6 kB / 5.025 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/16.71, allocations: 0 / 5.025 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002753/16.71, allocations: 1.002 MB / 5.026 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004871/16.71, allocations: 2.231 MB / 5.028 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/16.71, allocations: 8 kB / 5.028 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/16.71, allocations: 268.4 kB / 5.028 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/16.71, allocations: 71.88 kB / 5.029 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/16.71, allocations: 1.049 MB / 5.03 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/16.72, allocations: 103.8 kB / 5.03 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/16.72, allocations: 27.98 kB / 5.03 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/16.72, allocations: 4 kB / 5.03 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002357/16.72, allocations: 0.8097 MB / 5.031 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/16.72, allocations: 8 kB / 5.031 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/16.72, allocations: 262.6 kB / 5.031 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/16.72, allocations: 75.88 kB / 5.031 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/16.73, allocations: 3.147 MB / 5.034 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/16.73, allocations: 103.8 kB / 5.034 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/16.73, allocations: 24 kB / 5.034 GB, free: 114.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008827/16.73, allocations: 477 kB / 5.034 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/16.73, allocations: 110.6 kB / 5.035 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/16.73, allocations: 0.8358 MB / 5.035 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/16.73, allocations: 4 kB / 5.035 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/16.73, allocations: 0 / 5.035 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/16.73, allocations: 8 kB / 5.035 GB, free: 112.7 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.004712/16.74, allocations: 2.187 MB / 5.038 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/16.74, allocations: 0 / 5.038 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/16.74, allocations: 51.91 kB / 5.038 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007983/16.74, allocations: 198.8 kB / 5.038 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/16.74, allocations: 12 kB / 5.038 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/16.74, allocations: 0.8808 MB / 5.039 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/16.74, allocations: 4 kB / 5.039 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/16.74, allocations: 1.003 MB / 5.04 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/16.74, allocations: 239.6 kB / 5.04 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/16.74, allocations: 12.09 kB / 5.04 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/16.74, allocations: 79.75 kB / 5.04 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/16.74, allocations: 43.83 kB / 5.04 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/16.74, allocations: 19.98 kB / 5.04 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001598/16.74, allocations: 0.8211 MB / 5.041 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/16.74, allocations: 0 / 5.041 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002808/16.75, allocations: 0.6128 MB / 5.041 GB, free: 106.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.004025/16.75, allocations: 2.997 MB / 5.044 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003154/16.75, allocations: 1.157 MB / 5.045 GB, free: 102 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.996e-06/16.75, allocations: 4 kB / 5.045 GB, free: 102 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008054/16.76, allocations: 261.3 kB / 5.046 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006071/16.76, allocations: 0.6483 MB / 5.046 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/16.78, allocations: 10.46 MB / 5.057 GB, free: 90.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/16.78, allocations: 1.24 MB / 5.058 GB, free: 89.02 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001984/16.78, allocations: 380.6 kB / 5.058 GB, free: 88.65 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006697/16.78, allocations: 355.3 kB / 5.058 GB, free: 88.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.333e-06/16.78, allocations: 7.875 kB / 5.059 GB, free: 88.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/16.9, allocations: 48.51 MB / 5.106 GB, free: 40.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/16.9, allocations: 280.3 kB / 5.106 GB, free: 39.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.262/21.16, allocations: 1.969 kB / 5.106 GB, free: 39.82 MB / 0.8855 GB