Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.663/1.663, allocations: 285.4 MB / 298 MB, free: 5.945 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.001501/0.001501, allocations: 176.9 kB / 366.4 MB, free: 2.086 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.41/1.41, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008515/0.0008515, allocations: 92.53 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.315e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.6995, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.843/5.542, allocations: 2.063 GB / 3.034 GB, free: 76.34 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/5.543, allocations: 96.62 kB / 3.034 GB, free: 76.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.976/12.52, allocations: 1.789 GB / 4.823 GB, free: 122.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/12.52, allocations: 0 / 4.823 GB, free: 122.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001622/12.52, allocations: 31.98 kB / 4.823 GB, free: 122.4 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004079/12.52, allocations: 1.232 MB / 4.824 GB, free: 121.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/12.52, allocations: 8.031 kB / 4.824 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/12.52, allocations: 186.4 kB / 4.825 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00354/12.53, allocations: 1.385 MB / 4.826 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/12.53, allocations: 45 kB / 4.826 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/12.53, allocations: 60 kB / 4.826 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009708/12.53, allocations: 0.7689 MB / 4.827 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/12.53, allocations: 4 kB / 4.827 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/12.53, allocations: 19.98 kB / 4.827 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/12.53, allocations: 16 kB / 4.827 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/12.53, allocations: 0.4908 MB / 4.827 GB, free: 118 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003724/12.53, allocations: 4.208 MB / 4.831 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/12.53, allocations: 418.3 kB / 4.832 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/12.53, allocations: 322.3 kB / 4.832 GB, free: 112.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/12.53, allocations: 186.2 kB / 4.832 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003528/12.54, allocations: 315 kB / 4.833 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003693/12.54, allocations: 31.69 kB / 4.833 GB, free: 112.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.485e-06/12.54, allocations: 0 / 4.833 GB, free: 112.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001393/12.54, allocations: 0.7248 MB / 4.833 GB, free: 111.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/12.54, allocations: 81.11 kB / 4.833 GB, free: 111.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/12.54, allocations: 1.005 MB / 4.834 GB, free: 110.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/12.54, allocations: 33.7 kB / 4.834 GB, free: 110.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/12.54, allocations: 496.8 kB / 4.835 GB, free: 109.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/12.54, allocations: 118.4 kB / 4.835 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/12.54, allocations: 4 kB / 4.835 GB, free: 109.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/12.54, allocations: 330 kB / 4.835 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/12.54, allocations: 181 kB / 4.836 GB, free: 109.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/12.54, allocations: 0.5061 MB / 4.836 GB, free: 108.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/12.54, allocations: 291.5 kB / 4.836 GB, free: 108.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/12.54, allocations: 8 kB / 4.836 GB, free: 108.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001262/12.54, allocations: 0.9078 MB / 4.837 GB, free: 107.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000457/12.54, allocations: 2.136 MB / 4.839 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/12.54, allocations: 7.938 kB / 4.839 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/12.54, allocations: 252.5 kB / 4.84 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/12.54, allocations: 75.94 kB / 4.84 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009015/12.54, allocations: 1.018 MB / 4.841 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009714/12.54, allocations: 91.81 kB / 4.841 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/12.54, allocations: 24 kB / 4.841 GB, free: 103.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/12.54, allocations: 8.891 kB / 4.841 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001102/12.55, allocations: 0.7359 MB / 4.841 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/12.55, allocations: 8.625 kB / 4.841 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/12.55, allocations: 236.6 kB / 4.842 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/12.55, allocations: 79.78 kB / 4.842 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/12.55, allocations: 2.986 MB / 4.845 GB, free: 99.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009394/12.55, allocations: 91.81 kB / 4.845 GB, free: 99.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/12.55, allocations: 31.92 kB / 4.845 GB, free: 99.19 MB / 0.948 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 () * 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.0001817/12.55, allocations: 140.8 kB / 4.845 GB, free: 99.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/12.55, allocations: 98.78 kB / 4.845 GB, free: 98.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/12.55, allocations: 0.7422 MB / 4.846 GB, free: 98.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/12.55, allocations: 4 kB / 4.846 GB, free: 98.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/12.55, allocations: 4 kB / 4.846 GB, free: 98.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/12.55, allocations: 0 / 4.846 GB, free: 98.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/12.56, allocations: 1.682 MB / 4.847 GB, free: 96.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/12.56, allocations: 0 / 4.847 GB, free: 96.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/12.56, allocations: 31.92 kB / 4.847 GB, free: 96.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/12.56, allocations: 244.9 kB / 4.848 GB, free: 96.15 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/12.56, allocations: 8 kB / 4.848 GB, free: 96.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007358/12.56, allocations: 0.9945 MB / 4.849 GB, free: 95.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/12.56, allocations: 0 / 4.849 GB, free: 95.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/12.56, allocations: 0.9421 MB / 4.85 GB, free: 94.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/12.56, allocations: 223.8 kB / 4.85 GB, free: 93.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/12.56, allocations: 11.95 kB / 4.85 GB, free: 93.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/12.56, allocations: 71.77 kB / 4.85 GB, free: 93.78 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/12.56, allocations: 31.95 kB / 4.85 GB, free: 93.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/12.56, allocations: 8 kB / 4.85 GB, free: 93.74 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009429/12.56, allocations: 0.7972 MB / 4.851 GB, free: 92.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/12.56, allocations: 0 / 4.851 GB, free: 92.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001874/12.56, allocations: 0.5387 MB / 4.851 GB, free: 92.39 MB / 0.948 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) * 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.001547/12.56, allocations: 0.9044 MB / 4.852 GB, free: 91.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001505/12.56, allocations: 1.081 MB / 4.853 GB, free: 90.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/12.56, allocations: 0 / 4.853 GB, free: 90.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/12.57, allocations: 229 kB / 4.853 GB, free: 90.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/12.57, allocations: 0.6301 MB / 4.854 GB, free: 89.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/12.57, allocations: 1.399 MB / 4.855 GB, free: 88.08 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/12.57, allocations: 1.21 MB / 4.857 GB, free: 86.84 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001686/12.57, allocations: 0.7106 MB / 4.857 GB, free: 86.13 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.199e-05/12.57, allocations: 43.44 kB / 4.857 GB, free: 86.09 MB / 0.948 GB Notification: Performance of SimCode: time 8.41e-07/12.57, allocations: 0 / 4.857 GB, free: 86.09 MB / 0.948 GB Notification: Performance of Templates: time 0.04444/12.62, allocations: 35.81 MB / 4.892 GB, free: 50.39 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)