Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.164/2.164, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001332/0.001332, allocations: 185.3 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.39/2.39, allocations: 205.4 MB / 0.5772 GB, free: 20.84 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.000941/0.0009408, allocations: 86.34 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006741/0.0006743, allocations: 13.16 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2148, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.519/6.733, allocations: 2.182 GB / 3.081 GB, free: 3.805 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/6.734, allocations: 104.6 kB / 3.081 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 11.03/17.77, allocations: 1.909 GB / 4.99 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.544e-06/17.77, allocations: 0 / 4.99 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002593/17.77, allocations: 35.98 kB / 4.99 GB, free: 165 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.01031/17.78, allocations: 1.577 MB / 4.991 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/17.78, allocations: 11.97 kB / 4.991 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/17.78, allocations: 207.3 kB / 4.992 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006832/17.79, allocations: 1.439 MB / 4.993 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/17.79, allocations: 45.69 kB / 4.993 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/17.79, allocations: 64.38 kB / 4.993 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/17.79, allocations: 0.9641 MB / 4.994 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/17.79, allocations: 3.938 kB / 4.994 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/17.79, allocations: 24 kB / 4.994 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/17.79, allocations: 20 kB / 4.994 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/17.79, allocations: 0.757 MB / 4.995 GB, free: 159.7 MB / 0.8855 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.007146/17.8, allocations: 4.723 MB / 4.999 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/17.8, allocations: 4.067 MB / 5.003 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008773/17.8, allocations: 348.7 kB / 5.004 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000385/17.8, allocations: 202.2 kB / 5.004 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007468/17.8, allocations: 324.3 kB / 5.004 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006978/17.81, allocations: 31.66 kB / 5.004 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 4.419e-06/17.81, allocations: 0 / 5.004 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.008119/17.81, allocations: 1.528 MB / 5.006 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/17.81, allocations: 85.11 kB / 5.006 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/17.82, allocations: 1.169 MB / 5.007 GB, free: 146 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001549/17.82, allocations: 37.7 kB / 5.007 GB, free: 146 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/17.82, allocations: 0.5316 MB / 5.008 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/17.82, allocations: 122.2 kB / 5.008 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/17.82, allocations: 12 kB / 5.008 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.328e-05/17.82, allocations: 330 kB / 5.008 GB, free: 145 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/17.82, allocations: 205 kB / 5.008 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/17.82, allocations: 0.5561 MB / 5.009 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/17.82, allocations: 336.4 kB / 5.009 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-06/17.82, allocations: 0 / 5.009 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00375/17.82, allocations: 1.033 MB / 5.01 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/17.82, allocations: 288.3 kB / 5.01 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/17.82, allocations: 4 kB / 5.01 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/17.83, allocations: 316.5 kB / 5.011 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/17.83, allocations: 91.69 kB / 5.011 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/17.83, allocations: 1.006 MB / 5.012 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/17.83, allocations: 103.8 kB / 5.012 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/17.83, allocations: 28 kB / 5.012 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/17.83, allocations: 5.562 kB / 5.012 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00227/17.83, allocations: 0.7865 MB / 5.013 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/17.83, allocations: 4 kB / 5.013 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009399/17.83, allocations: 230.6 kB / 5.013 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/17.83, allocations: 71.91 kB / 5.013 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/17.84, allocations: 2.89 MB / 5.016 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/17.84, allocations: 99.8 kB / 5.016 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/17.84, allocations: 31.98 kB / 5.016 GB, free: 136.5 MB / 0.8855 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008832/17.84, allocations: 490.6 kB / 5.016 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/17.84, allocations: 106.7 kB / 5.016 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/17.84, allocations: 0.7969 MB / 5.017 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/17.84, allocations: 4 kB / 5.017 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/17.84, allocations: 192 / 5.017 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/17.84, allocations: 4 kB / 5.017 GB, free: 135.1 MB / 0.8855 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.004691/17.85, allocations: 2.149 MB / 5.019 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/17.85, allocations: 256 / 5.019 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/17.85, allocations: 59.91 kB / 5.019 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006697/17.85, allocations: 172.6 kB / 5.02 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/17.85, allocations: 15.98 kB / 5.02 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009586/17.85, allocations: 0.853 MB / 5.02 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/17.85, allocations: 8.094 kB / 5.02 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/17.85, allocations: 0.8618 MB / 5.021 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/17.85, allocations: 235.7 kB / 5.021 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/17.85, allocations: 8 kB / 5.022 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/17.86, allocations: 83.66 kB / 5.022 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/17.86, allocations: 35.83 kB / 5.022 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/17.86, allocations: 20 kB / 5.022 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00157/17.86, allocations: 0.8209 MB / 5.022 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.01e-07/17.86, allocations: 0 / 5.022 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002689/17.86, allocations: 0.6012 MB / 5.023 GB, free: 128.9 MB / 0.8855 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002038/17.86, allocations: 1.054 MB / 5.024 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002984/17.87, allocations: 1.135 MB / 5.025 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/17.87, allocations: 0 / 5.025 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007915/17.87, allocations: 268.2 kB / 5.025 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00633/17.87, allocations: 0.6431 MB / 5.026 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/17.88, allocations: 2.113 MB / 5.028 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/17.88, allocations: 1.209 MB / 5.029 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001944/17.88, allocations: 396.5 kB / 5.03 GB, free: 122 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/17.88, allocations: 63.44 kB / 5.03 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.072e-06/17.88, allocations: 4 kB / 5.03 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.07976/17.96, allocations: 33.38 MB / 5.062 GB, free: 88.75 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)