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.746/1.746, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001219/0.00122, allocations: 193 kB / 371.8 MB, free: 10.25 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.735/1.735, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.0008517/0.0008517, allocations: 89.22 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004145, allocations: 20.2 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2303, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.6836/0.914, allocations: 140.5 MB / 1.117 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003969/0.918, allocations: 2.145 MB / 1.119 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00062/0.9187, allocations: 10.78 kB / 1.119 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009572/0.9197, allocations: 238.7 kB / 1.119 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.9225, allocations: 0.6802 MB / 1.12 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.9243, allocations: 447.2 kB / 1.12 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002263/0.9266, allocations: 1.644 MB / 1.122 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00309/0.9297, allocations: 2.31 MB / 1.124 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.932, allocations: 0.8552 MB / 1.125 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.9332, allocations: 0.6035 MB / 1.125 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.9334, allocations: 46.47 kB / 1.125 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.9351, allocations: 0.6246 MB / 1.126 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.9354, allocations: 308.1 kB / 1.126 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.9359, allocations: 245.5 kB / 1.127 GB, free: 16.65 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.9373, allocations: 1.164 MB / 1.128 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.9373, allocations: 0 / 1.128 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9373, allocations: 4 kB / 1.128 GB, free: 16.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.9373, allocations: 0 / 1.128 GB, free: 16.54 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.002833/0.9401, allocations: 1.519 MB / 1.129 GB, free: 15.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.9402, allocations: 8 kB / 1.129 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.9404, allocations: 100.5 kB / 1.129 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000865/0.9412, allocations: 208.3 kB / 1.129 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.9431, allocations: 0.8633 MB / 1.13 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.9431, allocations: 49.08 kB / 1.13 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.9432, allocations: 72.27 kB / 1.13 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.9447, allocations: 0.9813 MB / 1.131 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.9448, allocations: 7.25 kB / 1.131 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.9448, allocations: 22.44 kB / 1.131 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.9449, allocations: 18.34 kB / 1.131 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.946, allocations: 0.8091 MB / 1.132 GB, free: 14.4 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.005729/0.9518, allocations: 4.805 MB / 1.137 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.9546, allocations: 4.029 MB / 1.141 GB, free: 6.211 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/0.9547, allocations: 16.61 kB / 1.141 GB, free: 6.207 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/0.9553, allocations: 333.1 kB / 1.141 GB, free: 6.051 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005755/0.9558, allocations: 32.06 kB / 1.141 GB, free: 6.035 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.9559, allocations: 0 / 1.141 GB, free: 6.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.00483/0.9607, allocations: 1.593 MB / 1.143 GB, free: 5.352 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.9608, allocations: 111.2 kB / 1.143 GB, free: 5.223 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.9626, allocations: 1.175 MB / 1.144 GB, free: 4.855 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.81e-05/0.9627, allocations: 42.86 kB / 1.144 GB, free: 4.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.9632, allocations: 0.5178 MB / 1.145 GB, free: 4.598 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.9633, allocations: 119.6 kB / 1.145 GB, free: 4.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.9634, allocations: 8.562 kB / 1.145 GB, free: 4.516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9635, allocations: 327.7 kB / 1.145 GB, free: 4.203 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.9639, allocations: 207 kB / 1.145 GB, free: 4.156 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/0.9646, allocations: 0.5368 MB / 1.146 GB, free: 3.711 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.9651, allocations: 321.8 kB / 1.146 GB, free: 3.605 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.9651, allocations: 1.438 kB / 1.146 GB, free: 3.605 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002422/0.9675, allocations: 1.044 MB / 1.147 GB, free: 3.215 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.9685, allocations: 2.141 MB / 1.149 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.9686, allocations: 5.188 kB / 1.149 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.9698, allocations: 333.9 kB / 1.149 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.9703, allocations: 109.6 kB / 1.15 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.9715, allocations: 1.004 MB / 1.151 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.9727, allocations: 99.39 kB / 1.151 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.9728, allocations: 32.08 kB / 1.151 GB, free: 152 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.9728, allocations: 7.5 kB / 1.151 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001592/0.9744, allocations: 0.794 MB / 1.151 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.9745, allocations: 6.25 kB / 1.151 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.9751, allocations: 225.6 kB / 1.152 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.9755, allocations: 104.8 kB / 1.152 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.9793, allocations: 2.997 MB / 1.155 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.9806, allocations: 102.6 kB / 1.155 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.9806, allocations: 26.69 kB / 1.155 GB, free: 13.98 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 (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.0007647/0.9814, allocations: 472 kB / 1.155 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.9816, allocations: 114.3 kB / 1.155 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.9831, allocations: 0.7696 MB / 1.156 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.9831, allocations: 3.688 kB / 1.156 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9831, allocations: 1.75 kB / 1.156 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.9831, allocations: 3.984 kB / 1.156 GB, free: 13.39 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.0036/0.9867, allocations: 2.191 MB / 1.158 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9867, allocations: 1.469 kB / 1.158 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.9871, allocations: 84.73 kB / 1.158 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/0.9875, allocations: 178.6 kB / 1.159 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.9876, allocations: 11.55 kB / 1.159 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007931/0.9884, allocations: 0.8575 MB / 1.159 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.9884, allocations: 10.77 kB / 1.159 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.9899, allocations: 0.9434 MB / 1.16 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.9904, allocations: 237.8 kB / 1.161 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.9906, allocations: 9.656 kB / 1.161 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/0.9913, allocations: 77.48 kB / 1.161 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.9914, allocations: 35.75 kB / 1.161 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.9914, allocations: 16.48 kB / 1.161 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00128/0.9927, allocations: 0.8225 MB / 1.162 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9927, allocations: 0 / 1.162 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001568/0.9943, allocations: 0.5045 MB / 1.162 GB, free: 10.37 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 (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.001944/0.9962, allocations: 1.98 MB / 1.164 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.9984, allocations: 1.132 MB / 1.165 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9984, allocations: 6.75 kB / 1.165 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.9988, allocations: 242.2 kB / 1.165 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.002, allocations: 0.6444 MB / 1.166 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/1.018, allocations: 10.32 MB / 1.176 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/1.019, allocations: 1.231 MB / 1.177 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001344/1.02, allocations: 369.8 kB / 1.178 GB, free: 336 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/1.02, allocations: 356.6 kB / 1.178 GB, free: 300 kB / 0.7136 GB Notification: Performance of SimCode: time 7.02e-07/1.02, allocations: 1.859 kB / 1.178 GB, free: 300 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.28/3.301, allocations: 31.31 MB / 1.208 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002977/3.301, allocations: 295.2 kB / 1.209 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/6.567, allocations: 2.812 kB / 1.209 GB, free: 5.535 MB / 0.7448 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)