Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001231/0.001231, allocations: 176.9 kB / 377.1 MB, free: 1.527 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.856/1.856, allocations: 205.4 MB / 0.6366 GB, free: 8.535 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009945/0.0009944, allocations: 97.28 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003681, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2851, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.513/5.799, allocations: 2.067 GB / 3.056 GB, free: 114.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/5.799, allocations: 94 kB / 3.056 GB, free: 114.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.442/13.24, allocations: 1.993 GB / 5.049 GB, free: 192 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/13.24, allocations: 0 / 5.049 GB, free: 192 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002005/13.24, allocations: 37.06 kB / 5.049 GB, free: 192 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.006157/13.25, allocations: 1.579 MB / 5.05 GB, free: 191.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/13.25, allocations: 9.188 kB / 5.05 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004209/13.25, allocations: 100.4 kB / 5.051 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/13.25, allocations: 202.7 kB / 5.051 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004958/13.25, allocations: 1.465 MB / 5.052 GB, free: 190.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.064e-05/13.25, allocations: 45.91 kB / 5.052 GB, free: 190.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/13.25, allocations: 70.8 kB / 5.052 GB, free: 190.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/13.26, allocations: 0.9518 MB / 5.053 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/13.26, allocations: 4.75 kB / 5.053 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.242e-05/13.26, allocations: 23.72 kB / 5.053 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/13.26, allocations: 13.28 kB / 5.053 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/13.26, allocations: 0.7554 MB / 5.054 GB, free: 190.6 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.005258/13.26, allocations: 4.702 MB / 5.059 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/13.26, allocations: 4.003 MB / 5.063 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/13.26, allocations: 198.6 kB / 5.063 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000565/13.27, allocations: 326.9 kB / 5.063 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005637/13.27, allocations: 31.66 kB / 5.063 GB, free: 183 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 4.619e-06/13.27, allocations: 0 / 5.063 GB, free: 183 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.003688/13.27, allocations: 1.418 MB / 5.064 GB, free: 182.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/13.27, allocations: 81.05 kB / 5.065 GB, free: 182.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/13.27, allocations: 1.048 MB / 5.066 GB, free: 182.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-05/13.27, allocations: 36.23 kB / 5.066 GB, free: 182.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/13.27, allocations: 0.5127 MB / 5.066 GB, free: 182.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/13.27, allocations: 129.2 kB / 5.066 GB, free: 182.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/13.27, allocations: 11 kB / 5.066 GB, free: 182.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/13.27, allocations: 325.3 kB / 5.067 GB, free: 182 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/13.27, allocations: 210.3 kB / 5.067 GB, free: 182 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/13.27, allocations: 0.5559 MB / 5.067 GB, free: 181.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/13.27, allocations: 332.8 kB / 5.068 GB, free: 181.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/13.27, allocations: 0 / 5.068 GB, free: 181.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001886/13.28, allocations: 0.9989 MB / 5.069 GB, free: 181.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006105/13.28, allocations: 2.234 MB / 5.071 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/13.28, allocations: 6.812 kB / 5.071 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007302/13.28, allocations: 274.8 kB / 5.071 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/13.28, allocations: 76.98 kB / 5.071 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/13.28, allocations: 1.053 MB / 5.072 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/13.28, allocations: 103.4 kB / 5.072 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/13.28, allocations: 29.34 kB / 5.072 GB, free: 178.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/13.28, allocations: 3.094 kB / 5.072 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001653/13.28, allocations: 0.8109 MB / 5.073 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/13.28, allocations: 3.781 kB / 5.073 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/13.28, allocations: 261 kB / 5.073 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/13.28, allocations: 74.33 kB / 5.073 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004192/13.29, allocations: 3.139 MB / 5.076 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/13.29, allocations: 101.9 kB / 5.077 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/13.29, allocations: 24.73 kB / 5.077 GB, free: 177.1 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.00101/13.29, allocations: 477.6 kB / 5.077 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/13.29, allocations: 112.9 kB / 5.077 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/13.29, allocations: 0.8325 MB / 5.078 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/13.29, allocations: 4.281 kB / 5.078 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/13.29, allocations: 0 / 5.078 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/13.29, allocations: 3.219 kB / 5.078 GB, free: 176.8 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.004292/13.3, allocations: 2.192 MB / 5.08 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/13.3, allocations: 4.359 kB / 5.08 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/13.3, allocations: 47.09 kB / 5.08 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/13.3, allocations: 206.4 kB / 5.08 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/13.3, allocations: 12.34 kB / 5.08 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007214/13.3, allocations: 0.8786 MB / 5.081 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/13.3, allocations: 8.016 kB / 5.081 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/13.3, allocations: 0.9962 MB / 5.082 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/13.3, allocations: 234.9 kB / 5.082 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/13.3, allocations: 10.56 kB / 5.082 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/13.3, allocations: 86.25 kB / 5.082 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/13.3, allocations: 41.69 kB / 5.083 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/13.3, allocations: 14.77 kB / 5.083 GB, free: 174.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001788/13.3, allocations: 0.8246 MB / 5.083 GB, free: 174.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/13.3, allocations: 3.375 kB / 5.083 GB, free: 174.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003317/13.31, allocations: 0.6065 MB / 5.084 GB, free: 174.7 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.003962/13.31, allocations: 2.998 MB / 5.087 GB, free: 173.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002366/13.31, allocations: 1.159 MB / 5.088 GB, free: 172.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/13.31, allocations: 0 / 5.088 GB, free: 172.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005118/13.31, allocations: 258 kB / 5.088 GB, free: 172.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/13.32, allocations: 0.6602 MB / 5.089 GB, free: 172.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/13.33, allocations: 10.47 MB / 5.099 GB, free: 166.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/13.33, allocations: 1.238 MB / 5.1 GB, free: 166.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001617/13.34, allocations: 387.1 kB / 5.101 GB, free: 166.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/13.34, allocations: 359 kB / 5.101 GB, free: 166.2 MB / 0.948 GB Notification: Performance of SimCode: time 6.62e-07/13.34, allocations: 0 / 5.101 GB, free: 166.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08977/13.43, allocations: 48.52 MB / 5.148 GB, free: 163.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/13.43, allocations: 276.4 kB / 5.149 GB, free: 163 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/16.73, allocations: 0 / 5.149 GB, free: 163 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)