Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.157/2.157, allocations: 248.5 MB / 261 MB, free: 5.977 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.001489/0.001488, 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 2.017/2.017, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001116/0.001115, allocations: 90.47 kB / 0.6754 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.586e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1936, allocations: 106.3 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.144/7.337, allocations: 2.182 GB / 3.072 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/7.338, allocations: 91 kB / 3.072 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.09/17.42, allocations: 1.911 GB / 4.984 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.833e-06/17.42, allocations: 3.25 kB / 4.984 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002339/17.42, allocations: 35.91 kB / 4.984 GB, free: 212.5 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00719/17.43, allocations: 1.279 MB / 4.985 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/17.43, allocations: 7.562 kB / 4.985 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004749/17.43, allocations: 100.2 kB / 4.985 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/17.43, allocations: 198 kB / 4.985 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006776/17.44, allocations: 1.431 MB / 4.987 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/17.44, allocations: 47.5 kB / 4.987 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/17.44, allocations: 70.06 kB / 4.987 GB, free: 211 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/17.44, allocations: 0.9207 MB / 4.988 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/17.44, allocations: 11.16 kB / 4.988 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/17.44, allocations: 30.12 kB / 4.988 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/17.44, allocations: 14 kB / 4.988 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/17.45, allocations: 0.7104 MB / 4.989 GB, free: 210.3 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.006919/17.45, allocations: 4.723 MB / 4.993 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/17.45, allocations: 4.023 MB / 4.997 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/17.46, allocations: 328 kB / 4.997 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/17.46, allocations: 193.6 kB / 4.998 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006493/17.46, allocations: 306.9 kB / 4.998 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007182/17.46, allocations: 33.28 kB / 4.998 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 3.276e-06/17.46, allocations: 0 / 4.998 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.002343/17.46, allocations: 0.7264 MB / 4.999 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/17.46, allocations: 91.72 kB / 4.999 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/17.46, allocations: 1.028 MB / 5 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/17.46, allocations: 41.27 kB / 5 GB, free: 201 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005379/17.46, allocations: 0.5091 MB / 5 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/17.46, allocations: 129.9 kB / 5 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/17.46, allocations: 11.78 kB / 5 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.873e-05/17.46, allocations: 332.8 kB / 5.001 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/17.46, allocations: 184.5 kB / 5.001 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/17.46, allocations: 0.5267 MB / 5.001 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/17.46, allocations: 313.5 kB / 5.002 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/17.46, allocations: 3.938 kB / 5.002 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002368/17.47, allocations: 0.9249 MB / 5.003 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005385/17.47, allocations: 2.23 MB / 5.005 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/17.47, allocations: 3.219 kB / 5.005 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009265/17.47, allocations: 248.2 kB / 5.005 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/17.47, allocations: 75.41 kB / 5.005 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/17.47, allocations: 1.002 MB / 5.006 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/17.47, allocations: 97.22 kB / 5.006 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/17.47, allocations: 31.09 kB / 5.006 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/17.47, allocations: 3.5 kB / 5.006 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001958/17.47, allocations: 0.7465 MB / 5.007 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/17.47, allocations: 7.469 kB / 5.007 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009693/17.48, allocations: 225.1 kB / 5.007 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/17.48, allocations: 77.55 kB / 5.007 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/17.48, allocations: 2.89 MB / 5.01 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/17.48, allocations: 105.6 kB / 5.01 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/17.48, allocations: 21.5 kB / 5.01 GB, free: 193.3 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 (40): * Single equations (assignments): 38 * 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.0002641/17.48, allocations: 143.4 kB / 5.01 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/17.48, allocations: 105.2 kB / 5.01 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/17.49, allocations: 0.7483 MB / 5.011 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/17.49, allocations: 3.719 kB / 5.011 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/17.49, allocations: 0 / 5.011 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/17.49, allocations: 11.62 kB / 5.011 GB, free: 192.7 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.004398/17.49, allocations: 2.111 MB / 5.013 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/17.49, allocations: 3.938 kB / 5.013 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/17.49, allocations: 50.22 kB / 5.013 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006516/17.49, allocations: 184.3 kB / 5.013 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/17.49, allocations: 7.562 kB / 5.013 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009753/17.49, allocations: 0.8495 MB / 5.014 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/17.49, allocations: 7.344 kB / 5.014 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/17.49, allocations: 0.926 MB / 5.015 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/17.49, allocations: 241.1 kB / 5.015 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/17.5, allocations: 7.844 kB / 5.015 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/17.5, allocations: 80.94 kB / 5.016 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/17.5, allocations: 35.14 kB / 5.016 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/17.5, allocations: 15.12 kB / 5.016 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001602/17.5, allocations: 0.8118 MB / 5.016 GB, free: 189 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/17.5, allocations: 0 / 5.016 GB, free: 189 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002723/17.5, allocations: 0.595 MB / 5.017 GB, free: 188.9 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003636/17.5, allocations: 2.904 MB / 5.02 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002791/17.51, allocations: 1.101 MB / 5.021 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/17.51, allocations: 0 / 5.021 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006727/17.51, allocations: 231.2 kB / 5.021 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006044/17.51, allocations: 0.6439 MB / 5.022 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/17.52, allocations: 1.784 MB / 5.023 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/17.52, allocations: 1.242 MB / 5.025 GB, free: 184 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003669/17.52, allocations: 0.8121 MB / 5.025 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/17.52, allocations: 337 kB / 5.026 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.183e-06/17.52, allocations: 0 / 5.026 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/17.64, allocations: 51.56 MB / 5.076 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/17.65, allocations: 247.7 kB / 5.076 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.632/22.28, allocations: 0 / 5.076 GB, free: 133.8 MB / 0.8698 GB