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.331/2.331, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001513/0.001513, allocations: 172.5 kB / 315.4 MB, free: 4.004 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.103/2.103, allocations: 205.3 MB / 0.5662 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 99.05 kB / 0.6704 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.416e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2021, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.082/7.284, allocations: 2.185 GB / 3.069 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/7.284, allocations: 92.77 kB / 3.069 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.945/17.23, allocations: 1.901 GB / 4.97 GB, free: 210 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/17.23, allocations: 0 / 4.97 GB, free: 210 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001993/17.23, allocations: 33.81 kB / 4.97 GB, free: 210 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.006906/17.24, allocations: 1.268 MB / 4.971 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/17.24, allocations: 14.75 kB / 4.971 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/17.24, allocations: 198.2 kB / 4.971 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006778/17.25, allocations: 1.453 MB / 4.972 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/17.25, allocations: 18.09 kB / 4.973 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/17.25, allocations: 46.73 kB / 4.973 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001712/17.25, allocations: 0.6971 MB / 4.973 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/17.25, allocations: 0.8509 MB / 4.974 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/17.25, allocations: 4.812 kB / 4.974 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/17.25, allocations: 0 / 4.974 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/17.25, allocations: 17.22 kB / 4.974 GB, free: 208.9 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.01032/17.26, allocations: 4.569 MB / 4.979 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/17.26, allocations: 4.023 MB / 4.982 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/17.26, allocations: 336.8 kB / 4.983 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003923/17.26, allocations: 196 kB / 4.983 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005925/17.26, allocations: 294.2 kB / 4.983 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006463/17.27, allocations: 13.06 kB / 4.983 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 3.757e-06/17.27, allocations: 0 / 4.983 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.002918/17.27, allocations: 0.8507 MB / 4.984 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/17.27, allocations: 92.02 kB / 4.984 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/17.27, allocations: 0.9031 MB / 4.985 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/17.27, allocations: 33.02 kB / 4.985 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/17.27, allocations: 0.5213 MB / 4.986 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/17.27, allocations: 118.8 kB / 4.986 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/17.27, allocations: 2.906 kB / 4.986 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.304e-05/17.27, allocations: 325 kB / 4.986 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/17.27, allocations: 203.5 kB / 4.986 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/17.27, allocations: 0.5322 MB / 4.987 GB, free: 200 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/17.27, allocations: 301.4 kB / 4.987 GB, free: 200 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/17.27, allocations: 0 / 4.987 GB, free: 200 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002904/17.28, allocations: 0.9836 MB / 4.988 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004869/17.28, allocations: 2.21 MB / 4.99 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/17.28, allocations: 7.859 kB / 4.99 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008144/17.28, allocations: 256.1 kB / 4.99 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/17.28, allocations: 82.56 kB / 4.99 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/17.28, allocations: 1.156 MB / 4.992 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/17.28, allocations: 90.98 kB / 4.992 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/17.28, allocations: 39.11 kB / 4.992 GB, free: 197 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/17.28, allocations: 4.25 kB / 4.992 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00186/17.28, allocations: 0.6701 MB / 4.992 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/17.28, allocations: 6.094 kB / 4.992 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/17.28, allocations: 238.2 kB / 4.993 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/17.28, allocations: 80.91 kB / 4.993 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/17.29, allocations: 2.955 MB / 4.996 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/17.29, allocations: 90.36 kB / 4.996 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/17.29, allocations: 22.28 kB / 4.996 GB, free: 195.7 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.0002274/17.29, allocations: 137.2 kB / 4.996 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001626/17.29, allocations: 0.7103 MB / 4.997 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/17.29, allocations: 101.7 kB / 4.997 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/17.3, allocations: 0.7402 MB / 4.997 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/17.3, allocations: 3.875 kB / 4.997 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/17.3, allocations: 0 / 4.997 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/17.3, allocations: 0 / 4.997 GB, free: 195.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 postOpt removeSimpleEquations (simulation): time 0.004006/17.3, allocations: 2.047 MB / 4.999 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.475e-06/17.3, allocations: 3.219 kB / 4.999 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/17.3, allocations: 51.14 kB / 4.999 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005125/17.3, allocations: 168.3 kB / 5 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/17.3, allocations: 5.859 kB / 5 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009756/17.3, allocations: 0.9081 MB / 5 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/17.3, allocations: 0 / 5 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/17.3, allocations: 0.9179 MB / 5.001 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007066/17.3, allocations: 231.4 kB / 5.002 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/17.3, allocations: 7.391 kB / 5.002 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/17.31, allocations: 75.28 kB / 5.002 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/17.31, allocations: 35.11 kB / 5.002 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/17.31, allocations: 14.38 kB / 5.002 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001254/17.31, allocations: 0.703 MB / 5.002 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.51e-07/17.31, allocations: 2.156 kB / 5.002 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002546/17.31, allocations: 0.5672 MB / 5.003 GB, free: 193.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.003399/17.31, allocations: 3.075 MB / 5.006 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002459/17.32, allocations: 1.095 MB / 5.007 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/17.32, allocations: 3.438 kB / 5.007 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006021/17.32, allocations: 221.2 kB / 5.007 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005511/17.32, allocations: 0.5805 MB / 5.008 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/17.33, allocations: 1.72 MB / 5.009 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008486/17.33, allocations: 1.232 MB / 5.011 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003354/17.33, allocations: 0.7338 MB / 5.011 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/17.33, allocations: 330.3 kB / 5.012 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.653e-06/17.33, allocations: 0 / 5.012 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/17.44, allocations: 37.13 MB / 5.048 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/17.44, allocations: 206 kB / 5.048 GB, free: 186 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.948/21.39, allocations: 0 / 5.048 GB, free: 186 MB / 0.8698 GB