Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 182.5 kB / 327.3 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.5783 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 81.72 kB / 0.6829 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 8.375 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2056, allocations: 106.3 MB / 0.9008 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1507/0.3564, allocations: 146.9 MB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3594, allocations: 1.696 MB / 1.046 GB, free: 11.22 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.3598, allocations: 7.938 kB / 1.046 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.3603, allocations: 111.2 kB / 1.046 GB, free: 11.1 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.3614, allocations: 394.1 kB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009662/0.3623, allocations: 337 kB / 1.047 GB, free: 10.39 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002704/0.3651, allocations: 2.999 MB / 1.05 GB, free: 7.383 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.3676, allocations: 2.149 MB / 1.052 GB, free: 5.215 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.3694, allocations: 0.8636 MB / 1.053 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009612/0.3704, allocations: 0.7079 MB / 1.053 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.023e-05/0.3705, allocations: 36 kB / 1.053 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.3717, allocations: 0.5535 MB / 1.054 GB, free: 3.047 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.372, allocations: 282.9 kB / 1.054 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.3723, allocations: 237 kB / 1.054 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.3734, allocations: 1.033 MB / 1.055 GB, free: 1.496 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.3735, allocations: 4 kB / 1.055 GB, free: 1.492 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3735, allocations: 3.938 kB / 1.055 GB, free: 1.488 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.3735, allocations: 0 / 1.055 GB, free: 1.488 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002157/0.3757, allocations: 1.327 MB / 1.057 GB, free: 100 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3757, allocations: 8.031 kB / 1.057 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4589/0.8346, allocations: 181.3 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.837, allocations: 0.7998 MB / 1.058 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/0.8371, allocations: 43.53 kB / 1.058 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.8373, allocations: 58.25 kB / 1.058 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.8387, allocations: 0.8334 MB / 1.059 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.8388, allocations: 6.75 kB / 1.059 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.8388, allocations: 21.91 kB / 1.059 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.8388, allocations: 14.91 kB / 1.059 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.8399, allocations: 0.577 MB / 1.059 GB, free: 157.2 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.003775/0.8437, allocations: 4.252 MB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.8444, allocations: 457.3 kB / 1.064 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.8449, allocations: 347.1 kB / 1.064 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.8452, allocations: 196.3 kB / 1.064 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/0.8458, allocations: 316.1 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003373/0.8462, allocations: 37.02 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/0.8462, allocations: 0.6094 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.005047/0.8512, allocations: 1.69 MB / 1.066 GB, free: 153.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.8513, allocations: 87.52 kB / 1.066 GB, free: 153.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.8528, allocations: 1.141 MB / 1.067 GB, free: 153.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.8529, allocations: 37.86 kB / 1.067 GB, free: 153.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.8533, allocations: 483.9 kB / 1.068 GB, free: 153.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.8534, allocations: 114.2 kB / 1.068 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.8534, allocations: 8.781 kB / 1.068 GB, free: 153.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.8535, allocations: 329 kB / 1.068 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.8539, allocations: 209.4 kB / 1.069 GB, free: 152.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/0.8546, allocations: 0.5205 MB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.8551, allocations: 326.1 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.8551, allocations: 1.906 kB / 1.069 GB, free: 152.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002495/0.8576, allocations: 1.045 MB / 1.07 GB, free: 152.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.8578, allocations: 277.7 kB / 1.071 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.8578, allocations: 4.875 kB / 1.071 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.8592, allocations: 345.8 kB / 1.071 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.8597, allocations: 99.42 kB / 1.071 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.8608, allocations: 1.052 MB / 1.072 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/0.8618, allocations: 93.14 kB / 1.072 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/0.8619, allocations: 25.98 kB / 1.072 GB, free: 151.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.8619, allocations: 3.594 kB / 1.072 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001686/0.8636, allocations: 0.7922 MB / 1.073 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.8636, allocations: 9.984 kB / 1.073 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007025/0.8643, allocations: 247.2 kB / 1.073 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.8647, allocations: 104.1 kB / 1.073 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/0.8689, allocations: 3.057 MB / 1.076 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.8701, allocations: 92.83 kB / 1.076 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.8702, allocations: 25.42 kB / 1.076 GB, free: 149.8 MB / 0.698 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007852/0.8709, allocations: 468.1 kB / 1.077 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.8712, allocations: 103.6 kB / 1.077 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.8727, allocations: 0.7877 MB / 1.078 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8727, allocations: 3.656 kB / 1.078 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8727, allocations: 1.281 kB / 1.078 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.8728, allocations: 0 / 1.078 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.8755, allocations: 1.735 MB / 1.079 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8756, allocations: 2.875 kB / 1.079 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.8758, allocations: 64.78 kB / 1.08 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005518/0.8764, allocations: 245.1 kB / 1.08 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.8764, allocations: 6.344 kB / 1.08 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008894/0.8773, allocations: 1.014 MB / 1.081 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8773, allocations: 5.156 kB / 1.081 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.8787, allocations: 0.899 MB / 1.082 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/0.8792, allocations: 229.5 kB / 1.082 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.8793, allocations: 12.86 kB / 1.082 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.88, allocations: 68.08 kB / 1.082 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.8801, allocations: 33.89 kB / 1.082 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.8801, allocations: 15.16 kB / 1.082 GB, free: 147.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001203/0.8813, allocations: 0.8145 MB / 1.083 GB, free: 146.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8813, allocations: 3.938 kB / 1.083 GB, free: 146.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001767/0.8831, allocations: 474.4 kB / 1.083 GB, free: 146.6 MB / 0.698 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004992/0.8836, allocations: 165.8 kB / 1.083 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.8859, allocations: 1.148 MB / 1.085 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8859, allocations: 0 / 1.085 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006664/0.8866, allocations: 238.4 kB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/0.8903, allocations: 0.6375 MB / 1.085 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.8946, allocations: 2.038 MB / 1.087 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.8955, allocations: 1.188 MB / 1.089 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.8958, allocations: 62.78 kB / 1.089 GB, free: 143.2 MB / 0.698 GB Notification: Performance of SimCode: time 8.62e-07/0.8958, allocations: 0 / 1.089 GB, free: 143.2 MB / 0.698 GB Notification: Performance of Templates: time 0.02802/0.9238, allocations: 21.26 MB / 1.109 GB, free: 122.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)