Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.8/1.8, allocations: 288.2 MB / 303.2 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.001144/0.001144, allocations: 179.1 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.792/1.792, allocations: 205.4 MB / 0.6305 GB, free: 9.961 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.000933/0.0009333, allocations: 111.4 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.000517, allocations: 11.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2661, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.7524/1.019, allocations: 140.5 MB / 1.117 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006524/1.025, allocations: 3.583 MB / 1.12 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007345/1.026, allocations: 14.56 kB / 1.12 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009984/1.027, allocations: 237 kB / 1.12 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/1.03, allocations: 0.682 MB / 1.121 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/1.032, allocations: 489.6 kB / 1.122 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002985/1.035, allocations: 1.651 MB / 1.123 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003703/1.038, allocations: 2.32 MB / 1.125 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/1.041, allocations: 0.8566 MB / 1.126 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/1.042, allocations: 0.6032 MB / 1.127 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/1.042, allocations: 46.66 kB / 1.127 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/1.044, allocations: 464.3 kB / 1.127 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003242/1.044, allocations: 303.7 kB / 1.128 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004822/1.044, allocations: 243.7 kB / 1.128 GB, free: 16.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/1.046, allocations: 1.133 MB / 1.129 GB, free: 16.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.046, allocations: 0 / 1.129 GB, free: 16.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.953e-06/1.046, allocations: 7.938 kB / 1.129 GB, free: 16.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.541e-05/1.046, allocations: 0 / 1.129 GB, free: 16.43 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00289/1.049, allocations: 1.495 MB / 1.13 GB, free: 15.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.049, allocations: 10.12 kB / 1.13 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/1.049, allocations: 98.45 kB / 1.131 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008519/1.05, allocations: 206.9 kB / 1.131 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/1.052, allocations: 0.8667 MB / 1.132 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/1.052, allocations: 56.03 kB / 1.132 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.937e-05/1.052, allocations: 60.41 kB / 1.132 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/1.053, allocations: 0.9913 MB / 1.133 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/1.053, allocations: 2.438 kB / 1.133 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.66e-05/1.053, allocations: 25.5 kB / 1.133 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/1.053, allocations: 15.53 kB / 1.133 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/1.055, allocations: 0.8081 MB / 1.133 GB, free: 14.2 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.006123/1.061, allocations: 4.805 MB / 1.138 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/1.064, allocations: 4.022 MB / 1.142 GB, free: 6.023 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-05/1.064, allocations: 19.61 kB / 1.142 GB, free: 6.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007023/1.065, allocations: 332.2 kB / 1.142 GB, free: 5.867 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006924/1.066, allocations: 39.22 kB / 1.142 GB, free: 5.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 4.749e-06/1.066, allocations: 5.359 kB / 1.142 GB, free: 5.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.006235/1.072, allocations: 1.742 MB / 1.144 GB, free: 5.086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.072, allocations: 114.5 kB / 1.144 GB, free: 4.957 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/1.074, allocations: 1.181 MB / 1.145 GB, free: 4.586 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/1.074, allocations: 37.27 kB / 1.145 GB, free: 4.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005927/1.075, allocations: 0.5087 MB / 1.146 GB, free: 4.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/1.075, allocations: 123.2 kB / 1.146 GB, free: 4.258 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/1.075, allocations: 7.469 kB / 1.146 GB, free: 4.258 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.075, allocations: 328.1 kB / 1.146 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/1.076, allocations: 214.6 kB / 1.147 GB, free: 3.891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/1.077, allocations: 0.5369 MB / 1.147 GB, free: 3.445 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/1.077, allocations: 318.8 kB / 1.147 GB, free: 3.344 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.077, allocations: 2.125 kB / 1.147 GB, free: 3.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002537/1.08, allocations: 1.071 MB / 1.148 GB, free: 2.938 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009354/1.081, allocations: 2.151 MB / 1.151 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.081, allocations: 6.219 kB / 1.151 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/1.082, allocations: 366.3 kB / 1.151 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/1.082, allocations: 74.58 kB / 1.151 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/1.084, allocations: 1.057 MB / 1.152 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.085, allocations: 101.4 kB / 1.152 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/1.085, allocations: 27.14 kB / 1.152 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.085, allocations: 3.469 kB / 1.152 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/1.087, allocations: 0.8125 MB / 1.153 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.087, allocations: 9.531 kB / 1.153 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/1.087, allocations: 259.8 kB / 1.153 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/1.088, allocations: 67.95 kB / 1.153 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00436/1.092, allocations: 3.201 MB / 1.156 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.093, allocations: 95.66 kB / 1.157 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/1.093, allocations: 29.77 kB / 1.157 GB, free: 13.64 MB / 0.7136 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 (35): * Single equations (assignments): 33 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0009114/1.094, allocations: 471.8 kB / 1.157 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/1.095, allocations: 111.6 kB / 1.157 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/1.096, allocations: 0.8015 MB / 1.158 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.096, allocations: 3.594 kB / 1.158 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.096, allocations: 1.781 kB / 1.158 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.096, allocations: 5.641 kB / 1.158 GB, free: 13.04 MB / 0.7136 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.003696/1.1, allocations: 2.234 MB / 1.16 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.1, allocations: 5.328 kB / 1.16 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/1.1, allocations: 49.53 kB / 1.16 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/1.101, allocations: 213.4 kB / 1.16 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/1.101, allocations: 11.44 kB / 1.16 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009911/1.102, allocations: 0.8867 MB / 1.161 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.102, allocations: 6.516 kB / 1.161 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/1.104, allocations: 0.9758 MB / 1.162 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008073/1.105, allocations: 242.8 kB / 1.162 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.105, allocations: 6.812 kB / 1.162 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000792/1.106, allocations: 80.56 kB / 1.162 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/1.106, allocations: 30.45 kB / 1.163 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/1.106, allocations: 9.875 kB / 1.163 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001316/1.107, allocations: 0.8352 MB / 1.163 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/1.107, allocations: 4 kB / 1.163 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001896/1.109, allocations: 0.5062 MB / 1.164 GB, free: 9.984 MB / 0.7136 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 (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002388/1.111, allocations: 1.969 MB / 1.166 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002333/1.114, allocations: 1.141 MB / 1.167 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.114, allocations: 0 / 1.167 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005277/1.114, allocations: 250.8 kB / 1.167 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/1.118, allocations: 0.6491 MB / 1.168 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/1.134, allocations: 10.37 MB / 1.178 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009346/1.135, allocations: 1.237 MB / 1.179 GB, free: 84 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001305/1.136, allocations: 328.2 kB / 1.179 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/1.136, allocations: 359.1 kB / 1.18 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.743e-06/1.136, allocations: 0 / 1.18 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05925/1.196, allocations: 31.6 MB / 1.211 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/1.196, allocations: 290.2 kB / 1.211 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.936, allocations: 2.391 kB / 1.211 GB, free: 4.32 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)