Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.637/2.637, allocations: 287.5 MB / 303.2 MB, free: 8.266 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.001423/0.001422, allocations: 175 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009415/0.0009409, allocations: 98.28 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007017/0.000702, allocations: 16.44 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2383, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.365/6.603, allocations: 2.066 GB / 3.046 GB, free: 238.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/6.603, allocations: 100.8 kB / 3.046 GB, free: 238.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.03/16.63, allocations: 1.988 GB / 5.034 GB, free: 61.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.725e-06/16.63, allocations: 0 / 5.034 GB, free: 61.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002106/16.63, allocations: 31.98 kB / 5.034 GB, free: 61.95 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.008585/16.64, allocations: 1.554 MB / 5.036 GB, free: 60.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/16.64, allocations: 16.03 kB / 5.036 GB, free: 60.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/16.65, allocations: 203.3 kB / 5.036 GB, free: 60.11 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006234/16.65, allocations: 1.512 MB / 5.037 GB, free: 58.54 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/16.65, allocations: 49.69 kB / 5.037 GB, free: 58.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/16.65, allocations: 64.38 kB / 5.037 GB, free: 58.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/16.65, allocations: 0.9563 MB / 5.038 GB, free: 57.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/16.65, allocations: 3.938 kB / 5.038 GB, free: 57.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/16.65, allocations: 24 kB / 5.038 GB, free: 57.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/16.65, allocations: 12 kB / 5.038 GB, free: 57.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/16.66, allocations: 0.7532 MB / 5.039 GB, free: 56.61 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.005759/16.66, allocations: 4.71 MB / 5.044 GB, free: 51.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/16.66, allocations: 4.009 MB / 5.048 GB, free: 46.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007597/16.66, allocations: 354.2 kB / 5.048 GB, free: 46.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/16.66, allocations: 190.2 kB / 5.048 GB, free: 46.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000708/16.67, allocations: 340.5 kB / 5.049 GB, free: 45.81 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000611/16.67, allocations: 31.69 kB / 5.049 GB, free: 45.78 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.697e-06/16.67, allocations: 4 kB / 5.049 GB, free: 45.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.008411/16.67, allocations: 1.699 MB / 5.05 GB, free: 44.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/16.67, allocations: 81.11 kB / 5.05 GB, free: 43.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/16.68, allocations: 1.177 MB / 5.051 GB, free: 42.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/16.68, allocations: 33.7 kB / 5.051 GB, free: 42.72 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/16.68, allocations: 0.5124 MB / 5.052 GB, free: 42.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/16.68, allocations: 134.2 kB / 5.052 GB, free: 42.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/16.68, allocations: 15.94 kB / 5.052 GB, free: 42.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/16.68, allocations: 326 kB / 5.052 GB, free: 41.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/16.68, allocations: 209 kB / 5.053 GB, free: 41.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007899/16.68, allocations: 0.556 MB / 5.053 GB, free: 40.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/16.68, allocations: 0.6451 MB / 5.054 GB, free: 40.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/16.68, allocations: 4 kB / 5.054 GB, free: 40.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003389/16.68, allocations: 1.07 MB / 5.055 GB, free: 39.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/16.68, allocations: 284.2 kB / 5.055 GB, free: 38.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/16.68, allocations: 4 kB / 5.055 GB, free: 38.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/16.69, allocations: 374.7 kB / 5.055 GB, free: 38.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/16.69, allocations: 75.88 kB / 5.056 GB, free: 38.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/16.69, allocations: 1.04 MB / 5.057 GB, free: 37.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/16.69, allocations: 103.8 kB / 5.057 GB, free: 37.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/16.69, allocations: 27.98 kB / 5.057 GB, free: 37 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/16.69, allocations: 4 kB / 5.057 GB, free: 37 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002182/16.69, allocations: 0.8097 MB / 5.058 GB, free: 36.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/16.69, allocations: 4.656 kB / 5.058 GB, free: 36.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/16.69, allocations: 264.6 kB / 5.058 GB, free: 35.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/16.69, allocations: 87.81 kB / 5.058 GB, free: 35.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004974/16.7, allocations: 3.08 MB / 5.061 GB, free: 32.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/16.7, allocations: 107.7 kB / 5.061 GB, free: 32.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/16.7, allocations: 24 kB / 5.061 GB, free: 32.48 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.0008016/16.7, allocations: 474.5 kB / 5.061 GB, free: 32.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/16.7, allocations: 110.7 kB / 5.062 GB, free: 31.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/16.7, allocations: 0.8359 MB / 5.062 GB, free: 31.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/16.7, allocations: 4 kB / 5.062 GB, free: 31.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/16.7, allocations: 0 / 5.062 GB, free: 31.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/16.7, allocations: 3.984 kB / 5.062 GB, free: 31.05 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.004212/16.71, allocations: 2.182 MB / 5.064 GB, free: 28.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/16.71, allocations: 4 kB / 5.064 GB, free: 28.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/16.71, allocations: 47.89 kB / 5.065 GB, free: 28.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007581/16.71, allocations: 204.9 kB / 5.065 GB, free: 28.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/16.71, allocations: 11.98 kB / 5.065 GB, free: 28.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000911/16.71, allocations: 0.8815 MB / 5.066 GB, free: 27.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/16.71, allocations: 11.95 kB / 5.066 GB, free: 27.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/16.71, allocations: 0.8892 MB / 5.066 GB, free: 26.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/16.71, allocations: 231.7 kB / 5.067 GB, free: 26.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/16.71, allocations: 19.98 kB / 5.067 GB, free: 26.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/16.71, allocations: 79.75 kB / 5.067 GB, free: 26.26 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/16.71, allocations: 39.83 kB / 5.067 GB, free: 26.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/16.71, allocations: 16 kB / 5.067 GB, free: 26.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001468/16.72, allocations: 0.825 MB / 5.068 GB, free: 25.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/16.72, allocations: 0 / 5.068 GB, free: 25.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002434/16.72, allocations: 0.6127 MB / 5.068 GB, free: 24.76 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.001935/16.72, allocations: 1.135 MB / 5.069 GB, free: 23.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002868/16.72, allocations: 1.157 MB / 5.07 GB, free: 22.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/16.72, allocations: 0 / 5.07 GB, free: 22.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007415/16.72, allocations: 264.2 kB / 5.071 GB, free: 22.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006302/16.73, allocations: 0.65 MB / 5.071 GB, free: 21.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/16.73, allocations: 2.11 MB / 5.073 GB, free: 19.35 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/16.73, allocations: 1.213 MB / 5.075 GB, free: 18.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001915/16.74, allocations: 376.6 kB / 5.075 GB, free: 17.74 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/16.74, allocations: 75.42 kB / 5.075 GB, free: 17.66 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/16.74, allocations: 4 kB / 5.075 GB, free: 17.66 MB / 0.948 GB Notification: Performance of Templates: time 0.7402/17.48, allocations: 34.35 MB / 5.109 GB, free: 238 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)