Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.626/1.626, allocations: 288.4 MB / 303.6 MB, free: 8.188 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.0009372/0.0009372, allocations: 183.3 kB / 372.3 MB, free: 10.14 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.638/1.638, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0009866/0.0009866, allocations: 93.12 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004546, allocations: 15.55 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2545, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.6945/0.949, allocations: 152.4 MB / 1.129 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006202/0.9552, allocations: 3.775 MB / 1.133 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007954/0.9561, allocations: 12.62 kB / 1.133 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009225/0.957, allocations: 183.3 kB / 1.133 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.9593, allocations: 0.5945 MB / 1.133 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.9613, allocations: 415.1 kB / 1.134 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004171/0.9655, allocations: 3.313 MB / 1.137 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/0.9687, allocations: 2.353 MB / 1.139 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.9718, allocations: 1.099 MB / 1.14 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.9736, allocations: 0.8385 MB / 1.141 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.974, allocations: 48.5 kB / 1.141 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.9764, allocations: 0.8895 MB / 1.142 GB, free: 14.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000603/0.977, allocations: 334.5 kB / 1.143 GB, free: 14.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.9785, allocations: 0.5801 MB / 1.143 GB, free: 14.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.9806, allocations: 1.189 MB / 1.144 GB, free: 13.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.9806, allocations: 0 / 1.144 GB, free: 13.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9806, allocations: 0 / 1.144 GB, free: 13.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.594e-05/0.9807, allocations: 0 / 1.144 GB, free: 13.65 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.003817/0.9845, allocations: 1.514 MB / 1.146 GB, free: 12.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9846, allocations: 10.31 kB / 1.146 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002491/0.9848, allocations: 94.58 kB / 1.146 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009975/0.9858, allocations: 205.1 kB / 1.146 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.9877, allocations: 0.9253 MB / 1.147 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.9878, allocations: 50.53 kB / 1.147 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.9879, allocations: 63.44 kB / 1.147 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.9896, allocations: 0.9908 MB / 1.148 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.9896, allocations: 5.406 kB / 1.148 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/0.9897, allocations: 22.44 kB / 1.148 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.9897, allocations: 15.16 kB / 1.148 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.991, allocations: 0.8053 MB / 1.149 GB, free: 11.25 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.004719/0.9957, allocations: 4.808 MB / 1.154 GB, free: 7.438 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.9979, allocations: 4.018 MB / 1.157 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.9984, allocations: 356.4 kB / 1.158 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.9987, allocations: 196.1 kB / 1.158 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005234/0.9992, allocations: 327.2 kB / 1.158 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004252/0.9997, allocations: 31.56 kB / 1.158 GB, free: 2.625 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 4.378e-06/0.9997, allocations: 5.047 kB / 1.158 GB, free: 2.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.005196/1.005, allocations: 1.721 MB / 1.16 GB, free: 1.863 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/1.005, allocations: 81.33 kB / 1.16 GB, free: 1.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/1.007, allocations: 1.18 MB / 1.161 GB, free: 1.398 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/1.007, allocations: 39.42 kB / 1.161 GB, free: 1.367 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/1.007, allocations: 0.5066 MB / 1.162 GB, free: 1.152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/1.007, allocations: 127.1 kB / 1.162 GB, free: 1.059 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/1.007, allocations: 11 kB / 1.162 GB, free: 1.059 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/1.007, allocations: 335.3 kB / 1.162 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/1.008, allocations: 204.8 kB / 1.162 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/1.008, allocations: 0.5331 MB / 1.163 GB, free: 260 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/1.009, allocations: 0.6438 MB / 1.164 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.009, allocations: 1.375 kB / 1.164 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002221/1.011, allocations: 1.078 MB / 1.165 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/1.011, allocations: 279.6 kB / 1.165 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.011, allocations: 5.5 kB / 1.165 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/1.013, allocations: 440.2 kB / 1.165 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/1.013, allocations: 78.02 kB / 1.165 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/1.015, allocations: 1.138 MB / 1.167 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.016, allocations: 101.7 kB / 1.167 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/1.016, allocations: 24.06 kB / 1.167 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/1.016, allocations: 5.406 kB / 1.167 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/1.017, allocations: 0.8058 MB / 1.167 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.017, allocations: 6.219 kB / 1.167 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/1.018, allocations: 255.9 kB / 1.168 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/1.018, allocations: 71.3 kB / 1.168 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/1.022, allocations: 3.149 MB / 1.171 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.023, allocations: 95.7 kB / 1.171 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/1.023, allocations: 22.81 kB / 1.171 GB, free: 12.08 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006179/1.023, allocations: 483.7 kB / 1.171 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/1.023, allocations: 105.8 kB / 1.171 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/1.025, allocations: 0.838 MB / 1.172 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.025, allocations: 2.438 kB / 1.172 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.025, allocations: 0 / 1.172 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.025, allocations: 2.375 kB / 1.172 GB, free: 11.46 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.00258/1.027, allocations: 2.172 MB / 1.174 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.027, allocations: 4.766 kB / 1.174 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/1.028, allocations: 44.55 kB / 1.174 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/1.028, allocations: 245.6 kB / 1.175 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/1.028, allocations: 9.031 kB / 1.175 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007835/1.029, allocations: 0.9436 MB / 1.176 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.029, allocations: 2.906 kB / 1.176 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.03, allocations: 0.8802 MB / 1.176 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/1.03, allocations: 233.9 kB / 1.177 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.031, allocations: 17.88 kB / 1.177 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006663/1.031, allocations: 79.02 kB / 1.177 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/1.031, allocations: 29.2 kB / 1.177 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/1.031, allocations: 14.44 kB / 1.177 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000905/1.032, allocations: 0.8276 MB / 1.178 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0 / 1.178 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001299/1.034, allocations: 0.5044 MB / 1.178 GB, free: 8.562 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00154/1.035, allocations: 1.423 MB / 1.18 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00236/1.037, allocations: 1.292 MB / 1.181 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.037, allocations: 3.344 kB / 1.181 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005875/1.038, allocations: 309.9 kB / 1.181 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/1.041, allocations: 0.6466 MB / 1.182 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/1.054, allocations: 7.176 MB / 1.189 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/1.054, allocations: 1.212 MB / 1.19 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001075/1.055, allocations: 333.1 kB / 1.19 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/1.056, allocations: 357.8 kB / 1.191 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of SimCode: time 1.803e-06/1.056, allocations: 0 / 1.191 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7898/1.846, allocations: 31.57 MB / 1.221 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000352/1.846, allocations: 276.8 kB / 1.222 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/5.048, allocations: 0 / 1.222 GB, free: 0.9102 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)