Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.242/2.242, allocations: 251 MB / 265.9 MB, free: 11.69 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.001515/0.001515, allocations: 181.9 kB / 325.5 MB, free: 2.895 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.544/2.544, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001092/0.001091, allocations: 93.53 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007271/0.0007272, allocations: 17.41 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2744, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.348/6.623, allocations: 2.182 GB / 3.08 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/6.623, allocations: 91.89 kB / 3.081 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.182/11.8, allocations: 1.035 GB / 4.116 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.637e-06/11.81, allocations: 3.938 kB / 4.116 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002706/11.81, allocations: 31.98 kB / 4.116 GB, free: 15.47 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.008705/11.81, allocations: 1.577 MB / 4.117 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/11.81, allocations: 8.031 kB / 4.117 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000583/11.81, allocations: 102.5 kB / 4.117 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/11.82, allocations: 198.4 kB / 4.118 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006608/11.82, allocations: 1.433 MB / 4.119 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.529e-05/11.82, allocations: 49.31 kB / 4.119 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/11.82, allocations: 75.92 kB / 4.119 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/11.83, allocations: 0.9526 MB / 4.12 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/11.83, allocations: 0 / 4.12 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/11.83, allocations: 24 kB / 4.12 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/11.83, allocations: 20 kB / 4.12 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/11.83, allocations: 0.757 MB / 4.121 GB, free: 10.07 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.006891/11.83, allocations: 4.74 MB / 4.126 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/11.84, allocations: 4.053 MB / 4.129 GB, free: 124 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6302/12.47, allocations: 196.7 kB / 4.13 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/12.47, allocations: 323.7 kB / 4.13 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006769/12.47, allocations: 32.8 kB / 4.13 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.396e-06/12.47, allocations: 0.6875 kB / 4.13 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.006051/12.48, allocations: 1.3 MB / 4.131 GB, free: 245 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/12.48, allocations: 84.48 kB / 4.131 GB, free: 245 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/12.48, allocations: 1.037 MB / 4.132 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/12.48, allocations: 37.52 kB / 4.132 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006473/12.48, allocations: 0.5174 MB / 4.133 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/12.48, allocations: 131.1 kB / 4.133 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/12.48, allocations: 13.22 kB / 4.133 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/12.48, allocations: 329.4 kB / 4.133 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/12.48, allocations: 207 kB / 4.134 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009702/12.48, allocations: 0.5554 MB / 4.134 GB, free: 243.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000807/12.48, allocations: 328.6 kB / 4.134 GB, free: 243.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/12.48, allocations: 7.062 kB / 4.134 GB, free: 243.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002958/12.48, allocations: 0.9774 MB / 4.135 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005316/12.49, allocations: 2.222 MB / 4.138 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/12.49, allocations: 12.67 kB / 4.138 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/12.49, allocations: 281.7 kB / 4.138 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/12.49, allocations: 88.34 kB / 4.138 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/12.49, allocations: 1.662 MB / 4.14 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/12.49, allocations: 113 kB / 4.14 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/12.49, allocations: 27.23 kB / 4.14 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/12.49, allocations: 4 kB / 4.14 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002858/12.5, allocations: 0.7946 MB / 4.14 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/12.5, allocations: 6.156 kB / 4.14 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009769/12.5, allocations: 220.1 kB / 4.141 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/12.5, allocations: 83.83 kB / 4.141 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006718/12.5, allocations: 2.958 MB / 4.144 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/12.51, allocations: 104.9 kB / 4.144 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/12.51, allocations: 25.34 kB / 4.144 GB, free: 238.8 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.001187/12.51, allocations: 488.4 kB / 4.144 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/12.51, allocations: 106.6 kB / 4.144 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/12.51, allocations: 0.8022 MB / 4.145 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/12.51, allocations: 4.547 kB / 4.145 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/12.51, allocations: 0.8438 kB / 4.145 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/12.51, allocations: 9.172 kB / 4.145 GB, free: 238.5 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.005813/12.52, allocations: 2.143 MB / 4.147 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/12.52, allocations: 2.156 kB / 4.147 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/12.52, allocations: 65.78 kB / 4.147 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000803/12.52, allocations: 207.4 kB / 4.147 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/12.52, allocations: 10.34 kB / 4.147 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/12.52, allocations: 1.472 MB / 4.149 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/12.52, allocations: 1.188 kB / 4.149 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/12.52, allocations: 0.963 MB / 4.15 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009118/12.52, allocations: 232.8 kB / 4.15 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/12.52, allocations: 12.34 kB / 4.15 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/12.52, allocations: 82.45 kB / 4.15 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/12.52, allocations: 39.88 kB / 4.15 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/12.52, allocations: 19.42 kB / 4.15 GB, free: 236 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002009/12.53, allocations: 0.8219 MB / 4.151 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.72e-07/12.53, allocations: 0 / 4.151 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003162/12.53, allocations: 0.5987 MB / 4.152 GB, free: 235.9 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004496/12.53, allocations: 2.95 MB / 4.154 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004755/12.54, allocations: 1.278 MB / 4.156 GB, free: 234 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/12.54, allocations: 0 / 4.156 GB, free: 234 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/12.54, allocations: 319.9 kB / 4.156 GB, free: 234 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006404/12.55, allocations: 0.6461 MB / 4.157 GB, free: 234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/12.57, allocations: 10.55 MB / 4.167 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/12.57, allocations: 1.236 MB / 4.168 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002006/12.57, allocations: 384.7 kB / 4.169 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/12.57, allocations: 356.6 kB / 4.169 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of SimCode: time 3.477e-06/12.57, allocations: 0 / 4.169 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/12.68, allocations: 47.21 MB / 4.215 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/12.68, allocations: 270.5 kB / 4.215 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.307/16.99, allocations: 0 / 4.215 GB, free: 226.2 MB / 0.8855 GB