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.6/1.6, allocations: 285.4 MB / 298 MB, free: 5.98 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.001382/0.001382, allocations: 180.8 kB / 366.4 MB, free: 2.062 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.767/1.767, allocations: 205.1 MB / 0.6248 GB, free: 7.703 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000822/0.0008222, allocations: 92.8 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.96e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7502, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.242/5.992, allocations: 2.064 GB / 3.035 GB, free: 30.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/5.992, allocations: 97.72 kB / 3.035 GB, free: 30.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.882/13.87, allocations: 1.981 GB / 5.016 GB, free: 250.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/13.87, allocations: 3.938 kB / 5.016 GB, free: 250.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001167/13.87, allocations: 35.09 kB / 5.016 GB, free: 250.8 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.003843/13.88, allocations: 1.276 MB / 5.017 GB, free: 250 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/13.88, allocations: 7.25 kB / 5.017 GB, free: 250 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/13.88, allocations: 101.6 kB / 5.017 GB, free: 249.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/13.88, allocations: 206 kB / 5.017 GB, free: 249.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/13.88, allocations: 1.433 MB / 5.019 GB, free: 249 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/13.88, allocations: 49.72 kB / 5.019 GB, free: 248.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/13.88, allocations: 69.64 kB / 5.019 GB, free: 248.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/13.88, allocations: 0.9241 MB / 5.02 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/13.88, allocations: 3.969 kB / 5.02 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/13.88, allocations: 19.94 kB / 5.02 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/13.88, allocations: 15.09 kB / 5.02 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/13.89, allocations: 0.7073 MB / 5.02 GB, free: 247.9 MB / 0.948 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.003905/13.89, allocations: 4.737 MB / 5.025 GB, free: 243.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/13.89, allocations: 4.021 MB / 5.029 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/13.89, allocations: 329.1 kB / 5.029 GB, free: 239.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/13.89, allocations: 196.1 kB / 5.029 GB, free: 238.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/13.89, allocations: 311.8 kB / 5.03 GB, free: 238.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000375/13.89, allocations: 37.34 kB / 5.03 GB, free: 238.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.755e-06/13.89, allocations: 0 / 5.03 GB, free: 238.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001291/13.89, allocations: 0.7229 MB / 5.031 GB, free: 238.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/13.89, allocations: 87.72 kB / 5.031 GB, free: 238.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/13.9, allocations: 1.026 MB / 5.032 GB, free: 237.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/13.9, allocations: 37.11 kB / 5.032 GB, free: 237.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/13.9, allocations: 0.5161 MB / 5.032 GB, free: 237.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/13.9, allocations: 130.5 kB / 5.032 GB, free: 237.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/13.9, allocations: 15.34 kB / 5.032 GB, free: 237.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/13.9, allocations: 333.6 kB / 5.033 GB, free: 236.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/13.9, allocations: 188.6 kB / 5.033 GB, free: 236.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/13.9, allocations: 0.5243 MB / 5.033 GB, free: 236.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/13.9, allocations: 300.4 kB / 5.034 GB, free: 236 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/13.9, allocations: 3.875 kB / 5.034 GB, free: 236 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001223/13.9, allocations: 0.9355 MB / 5.035 GB, free: 235.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004847/13.9, allocations: 2.223 MB / 5.037 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/13.9, allocations: 10.47 kB / 5.037 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/13.9, allocations: 231.7 kB / 5.037 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/13.9, allocations: 83.39 kB / 5.037 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00085/13.9, allocations: 1.001 MB / 5.038 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000945/13.9, allocations: 100.1 kB / 5.038 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/13.9, allocations: 27.77 kB / 5.038 GB, free: 232.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/13.9, allocations: 6.344 kB / 5.038 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/13.9, allocations: 0.7469 MB / 5.039 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/13.9, allocations: 3.969 kB / 5.039 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/13.9, allocations: 231.7 kB / 5.039 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/13.9, allocations: 79.08 kB / 5.039 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/13.91, allocations: 2.877 MB / 5.042 GB, free: 229.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/13.91, allocations: 100.4 kB / 5.042 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/13.91, allocations: 30.89 kB / 5.042 GB, free: 229.4 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 () * 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.0001458/13.91, allocations: 148.2 kB / 5.042 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/13.91, allocations: 111.1 kB / 5.042 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/13.91, allocations: 0.7458 MB / 5.043 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/13.91, allocations: 6.844 kB / 5.043 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/13.91, allocations: 0 / 5.043 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/13.91, allocations: 3.969 kB / 5.043 GB, free: 228.8 MB / 0.948 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.00241/13.91, allocations: 2.104 MB / 5.045 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/13.91, allocations: 4 kB / 5.045 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/13.91, allocations: 47.91 kB / 5.045 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/13.91, allocations: 178.8 kB / 5.045 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/13.91, allocations: 15.98 kB / 5.045 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005575/13.91, allocations: 0.8504 MB / 5.046 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/13.91, allocations: 7.781 kB / 5.046 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009223/13.91, allocations: 0.9194 MB / 5.047 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/13.91, allocations: 231.7 kB / 5.047 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/13.91, allocations: 15.94 kB / 5.047 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/13.91, allocations: 79.42 kB / 5.047 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/13.91, allocations: 39.33 kB / 5.047 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/13.91, allocations: 12 kB / 5.047 GB, free: 224.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008874/13.92, allocations: 0.8143 MB / 5.048 GB, free: 223.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/13.92, allocations: 0 / 5.048 GB, free: 223.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001758/13.92, allocations: 0.6011 MB / 5.049 GB, free: 223.2 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) * 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.002451/13.92, allocations: 2.903 MB / 5.052 GB, free: 220.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0016/13.92, allocations: 1.117 MB / 5.053 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/13.92, allocations: 0 / 5.053 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/13.92, allocations: 231.7 kB / 5.053 GB, free: 219.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/13.92, allocations: 0.6459 MB / 5.054 GB, free: 218.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/13.93, allocations: 1.768 MB / 5.055 GB, free: 216.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/13.93, allocations: 1.235 MB / 5.057 GB, free: 215.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001797/13.93, allocations: 0.812 MB / 5.057 GB, free: 214.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/13.93, allocations: 351.3 kB / 5.058 GB, free: 214.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/13.93, allocations: 3.938 kB / 5.058 GB, free: 214.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07004/14, allocations: 51.57 MB / 5.108 GB, free: 163.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/14, allocations: 254.2 kB / 5.108 GB, free: 162.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.673/17.67, allocations: 0 / 5.108 GB, free: 162.9 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)