Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 251.9 MB / 266.9 MB, free: 11 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.00119/0.00119, allocations: 178.1 kB / 326.5 MB, free: 2.227 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.035/2.035, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008637/0.0008634, allocations: 99.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 9.312 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2116, allocations: 106.4 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1557/0.3674, allocations: 140.6 MB / 1.037 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004266/0.3717, allocations: 2.195 MB / 1.04 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.3723, allocations: 11.88 kB / 1.04 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008973/0.3732, allocations: 243 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.3755, allocations: 0.6933 MB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.3771, allocations: 477.1 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.3794, allocations: 1.644 MB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003231/0.3827, allocations: 2.305 MB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.385, allocations: 0.8566 MB / 1.046 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.386, allocations: 0.5992 MB / 1.046 GB, free: 9.797 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.3862, allocations: 48 kB / 1.046 GB, free: 9.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.3878, allocations: 0.6201 MB / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.3882, allocations: 311 kB / 1.047 GB, free: 8.824 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.3886, allocations: 249.1 kB / 1.047 GB, free: 8.574 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.3902, allocations: 1.158 MB / 1.049 GB, free: 7.414 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3902, allocations: 8 kB / 1.049 GB, free: 7.406 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3903, allocations: 4 kB / 1.049 GB, free: 7.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.3903, allocations: 0 / 1.049 GB, free: 7.402 MB / 0.698 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.003048/0.3933, allocations: 1.51 MB / 1.05 GB, free: 5.832 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.3934, allocations: 11.97 kB / 1.05 GB, free: 5.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.3936, allocations: 102.5 kB / 1.05 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008917/0.3945, allocations: 202.4 kB / 1.05 GB, free: 5.512 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.3964, allocations: 0.8716 MB / 1.051 GB, free: 4.586 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.3965, allocations: 49.31 kB / 1.051 GB, free: 4.535 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.3966, allocations: 60 kB / 1.051 GB, free: 4.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.3982, allocations: 0.9831 MB / 1.052 GB, free: 3.418 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.3983, allocations: 11.92 kB / 1.052 GB, free: 3.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.3983, allocations: 28 kB / 1.052 GB, free: 3.379 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3984, allocations: 15.98 kB / 1.052 GB, free: 3.363 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.3997, allocations: 0.8038 MB / 1.053 GB, free: 2.559 MB / 0.698 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.4518/0.8515, allocations: 4.81 MB / 1.058 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.8533, allocations: 4.037 MB / 1.062 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.8534, allocations: 11.83 kB / 1.062 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.8539, allocations: 330.4 kB / 1.062 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004018/0.8543, allocations: 34.81 kB / 1.062 GB, free: 148.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.795e-06/0.8543, allocations: 0 / 1.062 GB, free: 148.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.004448/0.8587, allocations: 1.587 MB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.8588, allocations: 108.2 kB / 1.064 GB, free: 148.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.8603, allocations: 1.175 MB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.8604, allocations: 41.97 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.8608, allocations: 0.5121 MB / 1.065 GB, free: 148.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/0.8609, allocations: 120.8 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.8609, allocations: 11.19 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.861, allocations: 326.1 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.8614, allocations: 207.6 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.862, allocations: 0.5325 MB / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.8624, allocations: 320 kB / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.8625, allocations: 2.875 kB / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002172/0.8646, allocations: 1.048 MB / 1.068 GB, free: 147.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004343/0.8651, allocations: 2.141 MB / 1.07 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.8651, allocations: 4.766 kB / 1.07 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.8663, allocations: 330.6 kB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.8667, allocations: 112.8 kB / 1.07 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.8678, allocations: 1.003 MB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.869, allocations: 103.5 kB / 1.072 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.8691, allocations: 29.91 kB / 1.072 GB, free: 144.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.8691, allocations: 4.375 kB / 1.072 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00179/0.8709, allocations: 0.7872 MB / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.871, allocations: 9.172 kB / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006595/0.8716, allocations: 234.2 kB / 1.073 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.8721, allocations: 98.02 kB / 1.073 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/0.8763, allocations: 2.995 MB / 1.076 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.8776, allocations: 107.2 kB / 1.076 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.8777, allocations: 27.19 kB / 1.076 GB, free: 142.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (38): * Single equations (assignments): 36 * 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.0008025/0.8785, allocations: 475.7 kB / 1.076 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.8787, allocations: 107.3 kB / 1.076 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.8803, allocations: 0.7569 MB / 1.077 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.8803, allocations: 8.938 kB / 1.077 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8803, allocations: 1.469 kB / 1.077 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.8803, allocations: 8.297 kB / 1.077 GB, free: 142.6 MB / 0.698 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.003405/0.8837, allocations: 2.205 MB / 1.079 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8837, allocations: 1.938 kB / 1.079 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.8841, allocations: 84.11 kB / 1.079 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.8846, allocations: 175.7 kB / 1.079 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.8846, allocations: 13.95 kB / 1.079 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000748/0.8853, allocations: 0.8591 MB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8854, allocations: 6.641 kB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.8867, allocations: 0.9562 MB / 1.081 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.8871, allocations: 231.9 kB / 1.081 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.8872, allocations: 8.438 kB / 1.081 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.8879, allocations: 76.86 kB / 1.082 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.888, allocations: 28.98 kB / 1.082 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.888, allocations: 12.94 kB / 1.082 GB, free: 140.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001072/0.8891, allocations: 0.8308 MB / 1.082 GB, free: 140.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8891, allocations: 0 / 1.082 GB, free: 140.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00156/0.8907, allocations: 0.5052 MB / 1.083 GB, free: 140.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (25): * 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): 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.001623/0.8923, allocations: 1.978 MB / 1.085 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002226/0.8946, allocations: 1.125 MB / 1.086 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8946, allocations: 3.938 kB / 1.086 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.895, allocations: 249.4 kB / 1.086 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/0.8982, allocations: 0.6421 MB / 1.087 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.912, allocations: 10.33 MB / 1.097 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.9125, allocations: 1.238 MB / 1.098 GB, free: 130.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0012/0.9138, allocations: 358 kB / 1.098 GB, free: 129.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.9141, allocations: 354.5 kB / 1.099 GB, free: 129.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.71e-07/0.9141, allocations: 0 / 1.099 GB, free: 129.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04894/0.9631, allocations: 31.31 MB / 1.129 GB, free: 99.07 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.9633, allocations: 299.9 kB / 1.13 GB, free: 98.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/4.01, allocations: 4 kB / 1.13 GB, free: 98.71 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)