Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.093/2.093, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001331, allocations: 182.8 kB / 326.2 MB, free: 2.855 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.316/2.316, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.0009598/0.0009597, allocations: 91.75 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004678, allocations: 16.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2149, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.473/6.688, allocations: 2.184 GB / 3.084 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/6.688, allocations: 98.86 kB / 3.084 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 11.03/17.72, allocations: 1.918 GB / 5.002 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.495e-06/17.72, allocations: 0 / 5.002 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002228/17.72, allocations: 31.98 kB / 5.002 GB, free: 148.9 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.01083/17.73, allocations: 1.569 MB / 5.004 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/17.73, allocations: 12.03 kB / 5.004 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/17.74, allocations: 203.2 kB / 5.004 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008894/17.74, allocations: 1.466 MB / 5.006 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/17.74, allocations: 45.69 kB / 5.006 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002946/17.75, allocations: 68.36 kB / 5.006 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/17.75, allocations: 0.9563 MB / 5.007 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/17.75, allocations: 11.88 kB / 5.007 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/17.75, allocations: 20 kB / 5.007 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/17.75, allocations: 16 kB / 5.007 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/17.75, allocations: 0.7531 MB / 5.007 GB, free: 143.6 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.008648/17.76, allocations: 4.699 MB / 5.012 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/17.76, allocations: 4.014 MB / 5.016 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/17.76, allocations: 356.6 kB / 5.016 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/17.77, allocations: 202.2 kB / 5.016 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/17.77, allocations: 330.8 kB / 5.017 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007921/17.77, allocations: 31.69 kB / 5.017 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 4.418e-06/17.77, allocations: 0 / 5.017 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.01055/17.78, allocations: 1.665 MB / 5.018 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/17.78, allocations: 89.09 kB / 5.019 GB, free: 131 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/17.78, allocations: 1.177 MB / 5.02 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/17.78, allocations: 37.7 kB / 5.02 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/17.78, allocations: 0.5201 MB / 5.02 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/17.78, allocations: 126.2 kB / 5.02 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/17.78, allocations: 16 kB / 5.02 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/17.78, allocations: 326 kB / 5.021 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006108/17.78, allocations: 209 kB / 5.021 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008326/17.78, allocations: 0.5599 MB / 5.021 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/17.78, allocations: 331.5 kB / 5.022 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/17.78, allocations: 0 / 5.022 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003681/17.79, allocations: 1.072 MB / 5.023 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/17.79, allocations: 280.2 kB / 5.023 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/17.79, allocations: 8 kB / 5.023 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/17.79, allocations: 360.4 kB / 5.023 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/17.79, allocations: 75.83 kB / 5.023 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/17.79, allocations: 1.049 MB / 5.024 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/17.79, allocations: 99.8 kB / 5.025 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/17.79, allocations: 28 kB / 5.025 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/17.79, allocations: 0 / 5.025 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002359/17.8, allocations: 0.8214 MB / 5.025 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/17.8, allocations: 8 kB / 5.025 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/17.8, allocations: 254.7 kB / 5.026 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/17.8, allocations: 75.89 kB / 5.026 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/17.8, allocations: 3.078 MB / 5.029 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/17.81, allocations: 104 kB / 5.029 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/17.81, allocations: 24 kB / 5.029 GB, free: 119.9 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 (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.000844/17.81, allocations: 473.6 kB / 5.029 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/17.81, allocations: 114.6 kB / 5.029 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/17.81, allocations: 0.8356 MB / 5.03 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/17.81, allocations: 11.92 kB / 5.03 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/17.81, allocations: 4 kB / 5.03 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/17.81, allocations: 0 / 5.03 GB, free: 118.4 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.00459/17.81, allocations: 2.19 MB / 5.032 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/17.81, allocations: 4 kB / 5.032 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/17.81, allocations: 47.91 kB / 5.032 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007705/17.81, allocations: 204.8 kB / 5.033 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/17.81, allocations: 8 kB / 5.033 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/17.82, allocations: 0.8865 MB / 5.034 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/17.82, allocations: 0 / 5.034 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/17.82, allocations: 0.8938 MB / 5.034 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/17.82, allocations: 239.6 kB / 5.035 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/17.82, allocations: 8 kB / 5.035 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/17.82, allocations: 79.75 kB / 5.035 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/17.82, allocations: 47.83 kB / 5.035 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/17.82, allocations: 8 kB / 5.035 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001606/17.82, allocations: 0.8289 MB / 5.036 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.31e-07/17.82, allocations: 0 / 5.036 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002917/17.82, allocations: 0.6089 MB / 5.036 GB, free: 112.2 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 (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.002099/17.83, allocations: 1.127 MB / 5.037 GB, free: 111 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002999/17.83, allocations: 1.158 MB / 5.038 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/17.83, allocations: 0 / 5.038 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007781/17.83, allocations: 264.3 kB / 5.039 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006307/17.84, allocations: 0.6572 MB / 5.039 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/17.84, allocations: 2.11 MB / 5.041 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/17.84, allocations: 1.213 MB / 5.043 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001914/17.84, allocations: 384.6 kB / 5.043 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/17.84, allocations: 71.38 kB / 5.043 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of SimCode: time 9.62e-07/17.84, allocations: 0 / 5.043 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.07737/17.92, allocations: 34.37 MB / 5.077 GB, free: 70.89 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)