Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.611/2.611, allocations: 287.3 MB / 302.3 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 172.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.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: 97.97 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006988/0.0006987, allocations: 12.42 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2124, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.662/6.874, allocations: 2.063 GB / 3.042 GB, free: 210.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/6.875, allocations: 103.8 kB / 3.042 GB, free: 210.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.49/12.36, allocations: 1.072 GB / 4.114 GB, free: 244.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.524e-06/12.36, allocations: 0 / 4.114 GB, free: 244.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002239/12.37, allocations: 31.98 kB / 4.114 GB, free: 244.5 MB / 0.948 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.009313/12.37, allocations: 1.581 MB / 4.116 GB, free: 242.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/12.37, allocations: 8.031 kB / 4.116 GB, free: 242.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004994/12.37, allocations: 106.7 kB / 4.116 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/12.38, allocations: 198.3 kB / 4.116 GB, free: 242.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006536/12.38, allocations: 1.45 MB / 4.117 GB, free: 241 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-05/12.38, allocations: 49.27 kB / 4.117 GB, free: 241 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/12.38, allocations: 64 kB / 4.117 GB, free: 240.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/12.39, allocations: 0.9527 MB / 4.118 GB, free: 239.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/12.39, allocations: 3.938 kB / 4.118 GB, free: 239.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/12.39, allocations: 24 kB / 4.118 GB, free: 239.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/12.39, allocations: 16 kB / 4.118 GB, free: 239.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/12.39, allocations: 0.7647 MB / 4.119 GB, free: 239.1 MB / 0.948 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.007128/12.4, allocations: 4.731 MB / 4.124 GB, free: 234 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/12.4, allocations: 4.058 MB / 4.128 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004458/12.4, allocations: 202.2 kB / 4.128 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008242/12.4, allocations: 321.4 kB / 4.128 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00073/12.4, allocations: 35.69 kB / 4.128 GB, free: 228.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 4.969e-06/12.4, allocations: 4 kB / 4.128 GB, free: 228.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.006047/12.41, allocations: 1.294 MB / 4.13 GB, free: 227.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/12.41, allocations: 81.11 kB / 4.13 GB, free: 227.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/12.41, allocations: 1.046 MB / 4.131 GB, free: 226 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/12.41, allocations: 37.7 kB / 4.131 GB, free: 226 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/12.41, allocations: 0.5166 MB / 4.131 GB, free: 225.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/12.41, allocations: 118.3 kB / 4.131 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/12.41, allocations: 12 kB / 4.131 GB, free: 225.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.291e-05/12.41, allocations: 325.9 kB / 4.132 GB, free: 225 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/12.41, allocations: 217 kB / 4.132 GB, free: 224.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/12.41, allocations: 0.5521 MB / 4.132 GB, free: 224.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/12.41, allocations: 328.9 kB / 4.133 GB, free: 223.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/12.41, allocations: 0 / 4.133 GB, free: 223.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002651/12.41, allocations: 0.9861 MB / 4.134 GB, free: 222.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005047/12.42, allocations: 2.225 MB / 4.136 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/12.42, allocations: 4 kB / 4.136 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000994/12.42, allocations: 281.9 kB / 4.136 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/12.42, allocations: 99.73 kB / 4.136 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/12.42, allocations: 1.655 MB / 4.138 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/12.42, allocations: 103.7 kB / 4.138 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/12.42, allocations: 27.98 kB / 4.138 GB, free: 218.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/12.42, allocations: 6.5 kB / 4.138 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00228/12.42, allocations: 0.7987 MB / 4.139 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/12.42, allocations: 8 kB / 4.139 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008233/12.42, allocations: 219.7 kB / 4.139 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/12.43, allocations: 71.89 kB / 4.139 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/12.43, allocations: 2.969 MB / 4.142 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/12.43, allocations: 103.8 kB / 4.142 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/12.43, allocations: 27.95 kB / 4.142 GB, free: 213.8 MB / 0.948 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.0008473/12.43, allocations: 479.4 kB / 4.142 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/12.43, allocations: 106.7 kB / 4.143 GB, free: 213.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/12.44, allocations: 0.8124 MB / 4.143 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/12.44, allocations: 7.953 kB / 4.143 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/12.44, allocations: 0 / 4.143 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/12.44, allocations: 0 / 4.143 GB, free: 212.4 MB / 0.948 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.004327/12.44, allocations: 2.152 MB / 4.146 GB, free: 210.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/12.44, allocations: 3.938 kB / 4.146 GB, free: 210.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/12.44, allocations: 63.95 kB / 4.146 GB, free: 210.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007109/12.44, allocations: 204.8 kB / 4.146 GB, free: 209.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/12.44, allocations: 15.98 kB / 4.146 GB, free: 209.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/12.44, allocations: 1.466 MB / 4.147 GB, free: 208.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/12.44, allocations: 4 kB / 4.147 GB, free: 208.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/12.44, allocations: 0.9749 MB / 4.148 GB, free: 207.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006439/12.45, allocations: 231.7 kB / 4.148 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/12.45, allocations: 11.98 kB / 4.148 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/12.45, allocations: 79.77 kB / 4.148 GB, free: 206.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/12.45, allocations: 31.91 kB / 4.149 GB, free: 206.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/12.45, allocations: 19.98 kB / 4.149 GB, free: 206.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001541/12.45, allocations: 0.821 MB / 4.149 GB, free: 206.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.3e-07/12.45, allocations: 3.938 kB / 4.149 GB, free: 206.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002617/12.45, allocations: 0.6011 MB / 4.15 GB, free: 205.5 MB / 0.948 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.003857/12.46, allocations: 2.942 MB / 4.153 GB, free: 202.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004328/12.46, allocations: 1.277 MB / 4.154 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/12.46, allocations: 4.062 kB / 4.154 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/12.46, allocations: 324.1 kB / 4.154 GB, free: 200.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/12.47, allocations: 0.6408 MB / 4.155 GB, free: 200.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/12.48, allocations: 10.58 MB / 4.165 GB, free: 189.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/12.49, allocations: 1.229 MB / 4.167 GB, free: 187.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001912/12.49, allocations: 380.6 kB / 4.167 GB, free: 187.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/12.49, allocations: 359.3 kB / 4.167 GB, free: 187.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.412e-06/12.49, allocations: 0 / 4.167 GB, free: 187.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/12.6, allocations: 47.18 MB / 4.213 GB, free: 140.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/12.6, allocations: 272.2 kB / 4.214 GB, free: 140.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.326/16.92, allocations: 3.938 kB / 4.214 GB, free: 140.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)