Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.2 MB / 303.2 MB, free: 8.227 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.001198/0.001198, allocations: 180.2 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009609/0.0009609, allocations: 109.1 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003918, allocations: 11 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.216, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.395/4.611, allocations: 2.064 GB / 3.043 GB, free: 207.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/4.611, allocations: 91.45 kB / 3.043 GB, free: 207.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.274/10.88, allocations: 1.983 GB / 5.026 GB, free: 46.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.244e-06/10.88, allocations: 0 / 5.026 GB, free: 46.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001753/10.88, allocations: 31.98 kB / 5.026 GB, free: 46.86 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.005924/10.89, allocations: 1.585 MB / 5.028 GB, free: 45.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/10.89, allocations: 12.03 kB / 5.028 GB, free: 45.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003818/10.89, allocations: 94.52 kB / 5.028 GB, free: 45.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/10.89, allocations: 194.4 kB / 5.028 GB, free: 44.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004626/10.9, allocations: 1.457 MB / 5.029 GB, free: 43.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/10.9, allocations: 45.31 kB / 5.029 GB, free: 43.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/10.9, allocations: 64 kB / 5.029 GB, free: 43.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/10.9, allocations: 0.9573 MB / 5.03 GB, free: 42.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/10.9, allocations: 3.938 kB / 5.03 GB, free: 42.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/10.9, allocations: 24 kB / 5.03 GB, free: 42.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/10.9, allocations: 12 kB / 5.03 GB, free: 42.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/10.9, allocations: 0.7532 MB / 5.031 GB, free: 41.46 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.004461/10.9, allocations: 4.734 MB / 5.036 GB, free: 36.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/10.91, allocations: 4.063 MB / 5.04 GB, free: 31.51 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/10.91, allocations: 194.2 kB / 5.04 GB, free: 31.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004807/10.91, allocations: 326.5 kB / 5.04 GB, free: 30.95 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005015/10.91, allocations: 31.75 kB / 5.04 GB, free: 30.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.446e-06/10.91, allocations: 4 kB / 5.04 GB, free: 30.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.003089/10.91, allocations: 1.298 MB / 5.042 GB, free: 29.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/10.91, allocations: 89.05 kB / 5.042 GB, free: 29.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/10.91, allocations: 1.042 MB / 5.043 GB, free: 28.42 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/10.91, allocations: 37.7 kB / 5.043 GB, free: 28.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/10.91, allocations: 0.5166 MB / 5.043 GB, free: 27.86 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/10.91, allocations: 126.1 kB / 5.043 GB, free: 27.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/10.91, allocations: 12 kB / 5.043 GB, free: 27.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/10.91, allocations: 326 kB / 5.044 GB, free: 27.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/10.91, allocations: 217 kB / 5.044 GB, free: 27.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/10.91, allocations: 0.5482 MB / 5.044 GB, free: 26.48 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/10.91, allocations: 337.5 kB / 5.045 GB, free: 26.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/10.91, allocations: 0 / 5.045 GB, free: 26.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001476/10.92, allocations: 0.9822 MB / 5.046 GB, free: 25.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006069/10.92, allocations: 2.219 MB / 5.048 GB, free: 22.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/10.92, allocations: 7.938 kB / 5.048 GB, free: 22.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/10.92, allocations: 237.6 kB / 5.048 GB, free: 22.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/10.92, allocations: 75.89 kB / 5.048 GB, free: 22.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008171/10.92, allocations: 1.009 MB / 5.049 GB, free: 21.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/10.92, allocations: 103.7 kB / 5.049 GB, free: 21.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/10.92, allocations: 28 kB / 5.049 GB, free: 21.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/10.92, allocations: 4 kB / 5.049 GB, free: 21.29 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001249/10.92, allocations: 0.7906 MB / 5.05 GB, free: 20.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/10.92, allocations: 4 kB / 5.05 GB, free: 20.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/10.92, allocations: 230.4 kB / 5.05 GB, free: 20.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/10.92, allocations: 76.77 kB / 5.05 GB, free: 20.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/10.92, allocations: 2.95 MB / 5.053 GB, free: 17.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/10.93, allocations: 99.8 kB / 5.053 GB, free: 17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/10.93, allocations: 24 kB / 5.053 GB, free: 16.98 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): 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.0006574/10.93, allocations: 480.9 kB / 5.054 GB, free: 16.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/10.93, allocations: 110.6 kB / 5.054 GB, free: 16.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/10.93, allocations: 0.7972 MB / 5.055 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/10.93, allocations: 4 kB / 5.055 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/10.93, allocations: 3.984 kB / 5.055 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/10.93, allocations: 0 / 5.055 GB, free: 15.56 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.00308/10.93, allocations: 2.141 MB / 5.057 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/10.93, allocations: 0 / 5.057 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/10.93, allocations: 60.2 kB / 5.057 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003756/10.93, allocations: 188.9 kB / 5.057 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/10.93, allocations: 12 kB / 5.057 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006149/10.93, allocations: 0.8526 MB / 5.058 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/10.93, allocations: 4.031 kB / 5.058 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/10.93, allocations: 0.9622 MB / 5.059 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/10.93, allocations: 235.7 kB / 5.059 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/10.93, allocations: 15.95 kB / 5.059 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000766/10.93, allocations: 83.75 kB / 5.059 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/10.94, allocations: 31.95 kB / 5.059 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/10.94, allocations: 8 kB / 5.059 GB, free: 10.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009616/10.94, allocations: 0.8288 MB / 5.06 GB, free: 9.867 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/10.94, allocations: 3.938 kB / 5.06 GB, free: 9.863 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001778/10.94, allocations: 0.5972 MB / 5.061 GB, free: 9.266 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): 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.002652/10.94, allocations: 2.947 MB / 5.063 GB, free: 6.242 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001763/10.94, allocations: 1.135 MB / 5.065 GB, free: 5.074 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/10.94, allocations: 0 / 5.065 GB, free: 5.074 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/10.94, allocations: 264.7 kB / 5.065 GB, free: 4.816 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/10.95, allocations: 0.6394 MB / 5.065 GB, free: 4.188 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4868/11.43, allocations: 10.43 MB / 5.076 GB, free: 242.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009931/11.43, allocations: 1.238 MB / 5.077 GB, free: 242.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001513/11.43, allocations: 384.5 kB / 5.077 GB, free: 242.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/11.44, allocations: 358.6 kB / 5.077 GB, free: 242.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.024e-06/11.44, allocations: 0 / 5.077 GB, free: 242.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09472/11.53, allocations: 47.39 MB / 5.124 GB, free: 241.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/11.53, allocations: 290 kB / 5.124 GB, free: 241.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.737/15.27, allocations: 0 / 5.124 GB, free: 241.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)