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.684/1.684, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001196/0.001196, allocations: 181.1 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.793/1.793, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.000879/0.0008789, allocations: 93.94 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005175, allocations: 11.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.769/4.98, allocations: 2.066 GB / 3.046 GB, free: 251.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/4.98, allocations: 103.9 kB / 3.046 GB, free: 251.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.571/11.55, allocations: 1.993 GB / 5.039 GB, free: 66.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.504e-06/11.55, allocations: 0 / 5.039 GB, free: 66.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001951/11.55, allocations: 35.98 kB / 5.039 GB, free: 66.21 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005447/11.56, allocations: 1.573 MB / 5.041 GB, free: 64.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/11.56, allocations: 12.03 kB / 5.041 GB, free: 64.56 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003722/11.56, allocations: 102.5 kB / 5.041 GB, free: 64.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/11.56, allocations: 198.3 kB / 5.041 GB, free: 64.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/11.56, allocations: 1.465 MB / 5.042 GB, free: 62.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/11.56, allocations: 49.31 kB / 5.042 GB, free: 62.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/11.56, allocations: 60 kB / 5.042 GB, free: 62.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/11.56, allocations: 0.9565 MB / 5.043 GB, free: 61.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/11.56, allocations: 4 kB / 5.043 GB, free: 61.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/11.56, allocations: 23.95 kB / 5.043 GB, free: 61.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/11.56, allocations: 16 kB / 5.043 GB, free: 61.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/11.57, allocations: 0.7531 MB / 5.044 GB, free: 60.79 MB / 0.948 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.004466/11.57, allocations: 4.708 MB / 5.049 GB, free: 55.75 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/11.57, allocations: 4.011 MB / 5.053 GB, free: 50.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/11.57, allocations: 198.2 kB / 5.053 GB, free: 50.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004446/11.57, allocations: 324.8 kB / 5.053 GB, free: 50.35 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005209/11.57, allocations: 31.69 kB / 5.053 GB, free: 50.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.086e-06/11.57, allocations: 3.938 kB / 5.053 GB, free: 50.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.003367/11.58, allocations: 1.423 MB / 5.055 GB, free: 48.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/11.58, allocations: 85.11 kB / 5.055 GB, free: 48.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/11.58, allocations: 1.038 MB / 5.056 GB, free: 47.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/11.58, allocations: 37.7 kB / 5.056 GB, free: 47.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/11.58, allocations: 0.5128 MB / 5.056 GB, free: 47.15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/11.58, allocations: 134.1 kB / 5.056 GB, free: 47.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/11.58, allocations: 8 kB / 5.056 GB, free: 47.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.273e-05/11.58, allocations: 322 kB / 5.057 GB, free: 46.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/11.58, allocations: 220.9 kB / 5.057 GB, free: 46.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/11.58, allocations: 0.5482 MB / 5.057 GB, free: 45.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/11.58, allocations: 333.3 kB / 5.058 GB, free: 45.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/11.58, allocations: 3.953 kB / 5.058 GB, free: 45.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001636/11.58, allocations: 0.994 MB / 5.059 GB, free: 44.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004056/11.58, allocations: 2.233 MB / 5.061 GB, free: 42.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/11.58, allocations: 11.94 kB / 5.061 GB, free: 42.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/11.58, allocations: 270.8 kB / 5.061 GB, free: 41.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/11.58, allocations: 75.83 kB / 5.061 GB, free: 41.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008862/11.58, allocations: 1.052 MB / 5.062 GB, free: 40.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/11.58, allocations: 99.81 kB / 5.062 GB, free: 40.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/11.58, allocations: 27.98 kB / 5.062 GB, free: 40.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/11.58, allocations: 4.625 kB / 5.062 GB, free: 40.47 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/11.59, allocations: 0.8143 MB / 5.063 GB, free: 39.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/11.59, allocations: 8 kB / 5.063 GB, free: 39.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/11.59, allocations: 258.9 kB / 5.063 GB, free: 39.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/11.59, allocations: 75.88 kB / 5.063 GB, free: 39.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/11.59, allocations: 3.134 MB / 5.067 GB, free: 36.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/11.59, allocations: 103.7 kB / 5.067 GB, free: 35.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/11.59, allocations: 27.98 kB / 5.067 GB, free: 35.92 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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.0006678/11.59, allocations: 480.9 kB / 5.067 GB, free: 35.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/11.59, allocations: 106.7 kB / 5.067 GB, free: 35.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/11.59, allocations: 0.8282 MB / 5.068 GB, free: 34.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/11.59, allocations: 4 kB / 5.068 GB, free: 34.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/11.59, allocations: 0 / 5.068 GB, free: 34.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/11.59, allocations: 4 kB / 5.068 GB, free: 34.48 MB / 0.948 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.003053/11.6, allocations: 2.184 MB / 5.07 GB, free: 32.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/11.6, allocations: 4 kB / 5.07 GB, free: 32.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/11.6, allocations: 51.89 kB / 5.07 GB, free: 32.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004021/11.6, allocations: 204.9 kB / 5.07 GB, free: 31.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/11.6, allocations: 19.98 kB / 5.07 GB, free: 31.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005602/11.6, allocations: 0.8843 MB / 5.071 GB, free: 30.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/11.6, allocations: 7.953 kB / 5.071 GB, free: 30.97 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/11.6, allocations: 0.9943 MB / 5.072 GB, free: 29.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/11.6, allocations: 231.7 kB / 5.072 GB, free: 29.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/11.6, allocations: 11.98 kB / 5.072 GB, free: 29.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000905/11.6, allocations: 83.75 kB / 5.073 GB, free: 29.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/11.6, allocations: 39.86 kB / 5.073 GB, free: 29.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/11.6, allocations: 19.98 kB / 5.073 GB, free: 29.49 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001011/11.6, allocations: 0.8211 MB / 5.073 GB, free: 28.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/11.6, allocations: 0 / 5.073 GB, free: 28.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001986/11.6, allocations: 0.6167 MB / 5.074 GB, free: 28.04 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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.002708/11.61, allocations: 3.005 MB / 5.077 GB, free: 24.94 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001876/11.61, allocations: 1.15 MB / 5.078 GB, free: 23.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/11.61, allocations: 0 / 5.078 GB, free: 23.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004265/11.61, allocations: 264.7 kB / 5.078 GB, free: 23.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/11.61, allocations: 0.6513 MB / 5.079 GB, free: 22.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/11.62, allocations: 10.46 MB / 5.089 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/11.62, allocations: 1.24 MB / 5.09 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001356/11.63, allocations: 376.6 kB / 5.091 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/11.63, allocations: 359.3 kB / 5.091 GB, free: 10.03 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/11.63, allocations: 0 / 5.091 GB, free: 10.03 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/12.1, allocations: 48.53 MB / 5.138 GB, free: 239.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/12.1, allocations: 301.2 kB / 5.139 GB, free: 239.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/15.59, allocations: 0 / 5.139 GB, free: 239.3 MB / 0.948 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)