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.226/2.226, allocations: 248.5 MB / 261 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 183.3 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.001148/0.001148, allocations: 96.88 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.652e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2099, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.192/7.402, allocations: 2.184 GB / 3.075 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/7.402, allocations: 91.38 kB / 3.075 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.31/17.71, allocations: 1.921 GB / 4.996 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.836e-06/17.71, allocations: 2.906 kB / 4.996 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002803/17.71, allocations: 33.17 kB / 4.996 GB, free: 205.3 MB / 0.8698 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.008761/17.72, allocations: 1.272 MB / 4.998 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/17.72, allocations: 9.531 kB / 4.998 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005804/17.72, allocations: 100.6 kB / 4.998 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/17.72, allocations: 201.6 kB / 4.998 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009331/17.73, allocations: 1.461 MB / 4.999 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/17.73, allocations: 47.56 kB / 4.999 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/17.73, allocations: 60.22 kB / 5 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/17.74, allocations: 0.925 MB / 5 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-05/17.74, allocations: 3.938 kB / 5 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/17.74, allocations: 22.84 kB / 5 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/17.74, allocations: 18.38 kB / 5 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/17.74, allocations: 0.7081 MB / 5.001 GB, free: 202.4 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.009856/17.75, allocations: 4.689 MB / 5.006 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/17.75, allocations: 3.968 MB / 5.01 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/17.75, allocations: 330.4 kB / 5.01 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/17.75, allocations: 199.4 kB / 5.01 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008935/17.75, allocations: 304.6 kB / 5.01 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000909/17.76, allocations: 31.34 kB / 5.01 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 5.881e-06/17.76, allocations: 3.25 kB / 5.01 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.003515/17.76, allocations: 0.764 MB / 5.011 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/17.76, allocations: 80.86 kB / 5.011 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/17.76, allocations: 1.039 MB / 5.012 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001984/17.76, allocations: 39.95 kB / 5.012 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000841/17.76, allocations: 0.5188 MB / 5.013 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/17.76, allocations: 126.7 kB / 5.013 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/17.76, allocations: 11.28 kB / 5.013 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/17.76, allocations: 325.8 kB / 5.013 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/17.76, allocations: 184.6 kB / 5.013 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/17.77, allocations: 0.5313 MB / 5.014 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/17.77, allocations: 313.2 kB / 5.014 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/17.77, allocations: 0 / 5.014 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003682/17.77, allocations: 0.9586 MB / 5.015 GB, free: 190 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006745/17.77, allocations: 2.221 MB / 5.017 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/17.77, allocations: 7 kB / 5.017 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/17.77, allocations: 273.1 kB / 5.018 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/17.77, allocations: 73.42 kB / 5.018 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/17.78, allocations: 1.041 MB / 5.019 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/17.78, allocations: 99.95 kB / 5.019 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/17.78, allocations: 30.86 kB / 5.019 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/17.78, allocations: 3.906 kB / 5.019 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003106/17.78, allocations: 0.7691 MB / 5.02 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/17.78, allocations: 3.938 kB / 5.02 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/17.78, allocations: 260.5 kB / 5.02 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008455/17.78, allocations: 71.89 kB / 5.02 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/17.79, allocations: 3.076 MB / 5.023 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/17.79, allocations: 103.8 kB / 5.023 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/17.8, allocations: 28 kB / 5.023 GB, free: 182.6 MB / 0.8698 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 () * 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.0003191/17.8, allocations: 141.1 kB / 5.023 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/17.8, allocations: 114.6 kB / 5.023 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/17.8, allocations: 0.7926 MB / 5.024 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/17.8, allocations: 4 kB / 5.024 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/17.8, allocations: 0 / 5.024 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/17.8, allocations: 3.984 kB / 5.024 GB, free: 181.5 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006524/17.81, allocations: 2.147 MB / 5.026 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/17.81, allocations: 4.031 kB / 5.026 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/17.81, allocations: 51.91 kB / 5.026 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/17.81, allocations: 207.3 kB / 5.026 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.452e-05/17.81, allocations: 8 kB / 5.026 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/17.81, allocations: 0.8833 MB / 5.027 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/17.81, allocations: 0 / 5.027 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/17.81, allocations: 0.9508 MB / 5.028 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/17.81, allocations: 235.7 kB / 5.028 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/17.81, allocations: 12 kB / 5.028 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/17.82, allocations: 87.66 kB / 5.029 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/17.82, allocations: 35.89 kB / 5.029 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/17.82, allocations: 15.98 kB / 5.029 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002372/17.82, allocations: 0.8145 MB / 5.029 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.302e-06/17.82, allocations: 0 / 5.029 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004237/17.82, allocations: 0.6012 MB / 5.03 GB, free: 175.2 MB / 0.8698 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) * 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.005056/17.83, allocations: 2.986 MB / 5.033 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003816/17.83, allocations: 1.125 MB / 5.034 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/17.83, allocations: 0 / 5.034 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009325/17.83, allocations: 236.8 kB / 5.034 GB, free: 171 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008672/17.84, allocations: 0.6425 MB / 5.035 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00671/17.85, allocations: 1.764 MB / 5.037 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/17.85, allocations: 1.242 MB / 5.038 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005644/17.85, allocations: 0.8098 MB / 5.039 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00088/17.86, allocations: 335.3 kB / 5.039 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.663e-06/17.86, allocations: 0 / 5.039 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1462/18, allocations: 52.86 MB / 5.09 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/18, allocations: 253.1 kB / 5.091 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.826/22.83, allocations: 0 / 5.091 GB, free: 113.3 MB / 0.8698 GB