Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 293 MB / 309 MB, free: 4.84 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.001058/0.001058, allocations: 186.1 kB / 378.7 MB, free: 1.039 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.674/1.674, allocations: 205.4 MB / 0.6383 GB, free: 8.164 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.0008675/0.0008675, allocations: 84.8 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003729, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2793, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.361/5.64, allocations: 2.065 GB / 3.055 GB, free: 152.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/5.64, allocations: 92.47 kB / 3.055 GB, free: 152.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.46/12.1, allocations: 1.786 GB / 4.841 GB, free: 169.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.375e-06/12.1, allocations: 0 / 4.841 GB, free: 169.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002149/12.1, allocations: 30.89 kB / 4.841 GB, free: 169.5 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.005892/12.11, allocations: 1.496 MB / 4.843 GB, free: 168.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/12.11, allocations: 7.062 kB / 4.843 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/12.11, allocations: 191.5 kB / 4.843 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004251/12.11, allocations: 1.436 MB / 4.844 GB, free: 167.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/12.11, allocations: 49.81 kB / 4.845 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/12.11, allocations: 61.53 kB / 4.845 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/12.11, allocations: 0.7956 MB / 4.845 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/12.11, allocations: 11.81 kB / 4.845 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/12.11, allocations: 21.81 kB / 4.845 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/12.11, allocations: 12.22 kB / 4.845 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/12.11, allocations: 0.5397 MB / 4.846 GB, free: 166.5 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.004887/12.12, allocations: 4.219 MB / 4.85 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/12.12, allocations: 437.6 kB / 4.85 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/12.12, allocations: 348.1 kB / 4.851 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/12.12, allocations: 196.6 kB / 4.851 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/12.12, allocations: 321.7 kB / 4.851 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000524/12.12, allocations: 31.44 kB / 4.851 GB, free: 161.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.998e-06/12.12, allocations: 0 / 4.851 GB, free: 161.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.004687/12.13, allocations: 1.633 MB / 4.853 GB, free: 160.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/12.13, allocations: 80.42 kB / 4.853 GB, free: 160.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/12.13, allocations: 1.146 MB / 4.854 GB, free: 159.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/12.13, allocations: 33.7 kB / 4.854 GB, free: 159.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/12.13, allocations: 496.4 kB / 4.855 GB, free: 159.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/12.13, allocations: 118.4 kB / 4.855 GB, free: 159.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/12.13, allocations: 8 kB / 4.855 GB, free: 159.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/12.13, allocations: 329.9 kB / 4.855 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/12.13, allocations: 201 kB / 4.855 GB, free: 158.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005439/12.13, allocations: 0.5334 MB / 4.856 GB, free: 157.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/12.13, allocations: 0.6247 MB / 4.856 GB, free: 157.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/12.13, allocations: 4 kB / 4.856 GB, free: 157.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002067/12.13, allocations: 1.022 MB / 4.857 GB, free: 156.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/12.13, allocations: 286.4 kB / 4.858 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/12.13, allocations: 4 kB / 4.858 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/12.13, allocations: 328.4 kB / 4.858 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/12.13, allocations: 67.84 kB / 4.858 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000939/12.14, allocations: 1.03 MB / 4.859 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/12.14, allocations: 91.81 kB / 4.859 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/12.14, allocations: 27.98 kB / 4.859 GB, free: 154.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/12.14, allocations: 4 kB / 4.859 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00128/12.14, allocations: 0.7712 MB / 4.86 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/12.14, allocations: 16.06 kB / 4.86 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/12.14, allocations: 236.6 kB / 4.86 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/12.14, allocations: 71.89 kB / 4.86 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/12.14, allocations: 3.007 MB / 4.863 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/12.14, allocations: 91.81 kB / 4.863 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/12.14, allocations: 24 kB / 4.863 GB, free: 149.9 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 () * 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.0007757/12.14, allocations: 468.6 kB / 4.864 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/12.14, allocations: 106.7 kB / 4.864 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/12.15, allocations: 0.7889 MB / 4.865 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/12.15, allocations: 4 kB / 4.865 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/12.15, allocations: 7.938 kB / 4.865 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/12.15, allocations: 3.938 kB / 4.865 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/12.15, allocations: 1.72 MB / 4.866 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/12.15, allocations: 4 kB / 4.866 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/12.15, allocations: 27.97 kB / 4.866 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/12.15, allocations: 240.8 kB / 4.867 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/12.15, allocations: 11.98 kB / 4.867 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008165/12.15, allocations: 0.9961 MB / 4.868 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/12.15, allocations: 0 / 4.868 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/12.15, allocations: 0.9011 MB / 4.868 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005447/12.15, allocations: 231.8 kB / 4.869 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/12.15, allocations: 15.98 kB / 4.869 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000758/12.15, allocations: 67.77 kB / 4.869 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/12.15, allocations: 31.84 kB / 4.869 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/12.15, allocations: 15.98 kB / 4.869 GB, free: 144.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001109/12.15, allocations: 0.8041 MB / 4.87 GB, free: 143.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/12.15, allocations: 0 / 4.87 GB, free: 143.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001934/12.16, allocations: 0.5387 MB / 4.87 GB, free: 142.7 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) * 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.001801/12.16, allocations: 0.9028 MB / 4.871 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002044/12.16, allocations: 1.112 MB / 4.872 GB, free: 140.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/12.16, allocations: 0 / 4.872 GB, free: 140.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/12.16, allocations: 251 kB / 4.872 GB, free: 140.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/12.16, allocations: 0.6357 MB / 4.873 GB, free: 139.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/12.17, allocations: 1.981 MB / 4.875 GB, free: 137.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/12.17, allocations: 1.189 MB / 4.876 GB, free: 136.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001146/12.17, allocations: 308.4 kB / 4.876 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/12.17, allocations: 67.42 kB / 4.876 GB, free: 136.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/12.17, allocations: 0 / 4.876 GB, free: 136.2 MB / 0.948 GB Notification: Performance of Templates: time 0.04675/12.22, allocations: 31.75 MB / 4.907 GB, free: 104.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)