Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.585/1.585, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001125/0.001125, allocations: 180.8 kB / 366.7 MB, free: 1.664 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.673/1.673, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0009589/0.0009591, allocations: 88.36 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.943e-05, allocations: 8 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6818, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.96/5.641, allocations: 2.064 GB / 3.037 GB, free: 66.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/5.642, allocations: 92.53 kB / 3.037 GB, free: 66.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.706/13.35, allocations: 1.961 GB / 4.998 GB, free: 257 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/13.35, allocations: 0 / 4.998 GB, free: 257 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001965/13.35, allocations: 31.75 kB / 4.998 GB, free: 257 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004684/13.35, allocations: 1.27 MB / 4.999 GB, free: 256.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/13.35, allocations: 11.75 kB / 4.999 GB, free: 256.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/13.35, allocations: 195.2 kB / 4.999 GB, free: 256.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003948/13.36, allocations: 1.44 MB / 5.001 GB, free: 256.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/13.36, allocations: 18.75 kB / 5.001 GB, free: 256.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/13.36, allocations: 40.78 kB / 5.001 GB, free: 256.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001089/13.36, allocations: 0.7022 MB / 5.002 GB, free: 256.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/13.36, allocations: 0.8466 MB / 5.002 GB, free: 255.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/13.36, allocations: 2.906 kB / 5.002 GB, free: 255.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/13.36, allocations: 3.906 kB / 5.002 GB, free: 255.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/13.36, allocations: 15.72 kB / 5.002 GB, free: 255.8 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.004062/13.37, allocations: 4.592 MB / 5.007 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/13.37, allocations: 4.08 MB / 5.011 GB, free: 248.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/13.37, allocations: 340.9 kB / 5.011 GB, free: 248.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/13.37, allocations: 202.6 kB / 5.011 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/13.37, allocations: 286.9 kB / 5.012 GB, free: 248.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004337/13.37, allocations: 16.86 kB / 5.012 GB, free: 248.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.216e-06/13.37, allocations: 0 / 5.012 GB, free: 248.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001588/13.37, allocations: 0.8037 MB / 5.012 GB, free: 248.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/13.37, allocations: 81.02 kB / 5.013 GB, free: 248.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009325/13.37, allocations: 0.8961 MB / 5.013 GB, free: 247.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/13.37, allocations: 29.64 kB / 5.013 GB, free: 247.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/13.37, allocations: 0.5325 MB / 5.014 GB, free: 247.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/13.37, allocations: 119.5 kB / 5.014 GB, free: 247.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/13.37, allocations: 0 / 5.014 GB, free: 247.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/13.37, allocations: 330.7 kB / 5.014 GB, free: 247.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/13.37, allocations: 206.3 kB / 5.015 GB, free: 247.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/13.37, allocations: 0.541 MB / 5.015 GB, free: 247 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/13.37, allocations: 295.3 kB / 5.015 GB, free: 247 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/13.37, allocations: 7.109 kB / 5.015 GB, free: 247 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001384/13.37, allocations: 0.9497 MB / 5.016 GB, free: 246.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004698/13.37, allocations: 2.215 MB / 5.019 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/13.37, allocations: 6.781 kB / 5.019 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/13.38, allocations: 237.2 kB / 5.019 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/13.38, allocations: 86.39 kB / 5.019 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008921/13.38, allocations: 1.103 MB / 5.02 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/13.38, allocations: 87.5 kB / 5.02 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/13.38, allocations: 31.3 kB / 5.02 GB, free: 244 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/13.38, allocations: 10.2 kB / 5.02 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/13.38, allocations: 0.6358 MB / 5.021 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/13.38, allocations: 7.406 kB / 5.021 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000477/13.38, allocations: 205.2 kB / 5.021 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/13.38, allocations: 78.52 kB / 5.021 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/13.38, allocations: 2.79 MB / 5.024 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009648/13.38, allocations: 94.33 kB / 5.024 GB, free: 242.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/13.38, allocations: 22.06 kB / 5.024 GB, free: 242.6 MB / 0.948 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 () * 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.0001713/13.38, allocations: 129.3 kB / 5.024 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/13.38, allocations: 103.1 kB / 5.024 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/13.38, allocations: 0.7128 MB / 5.025 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/13.38, allocations: 7.5 kB / 5.025 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/13.38, allocations: 0 / 5.025 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/13.38, allocations: 8.141 kB / 5.025 GB, free: 242.4 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 postOpt removeSimpleEquations (simulation): time 0.002187/13.39, allocations: 2.003 MB / 5.027 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/13.39, allocations: 3.828 kB / 5.027 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/13.39, allocations: 50.98 kB / 5.027 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/13.39, allocations: 130.6 kB / 5.027 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/13.39, allocations: 13.08 kB / 5.027 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005383/13.39, allocations: 0.8606 MB / 5.028 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/13.39, allocations: 7.891 kB / 5.028 GB, free: 241.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008267/13.39, allocations: 0.8942 MB / 5.029 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/13.39, allocations: 231.5 kB / 5.029 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/13.39, allocations: 6.219 kB / 5.029 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/13.39, allocations: 70.98 kB / 5.029 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/13.39, allocations: 43.75 kB / 5.029 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/13.39, allocations: 14.47 kB / 5.029 GB, free: 240.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007336/13.39, allocations: 0.6959 MB / 5.03 GB, free: 240.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/13.39, allocations: 0 / 5.03 GB, free: 240.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00165/13.39, allocations: 0.5603 MB / 5.03 GB, free: 240 MB / 0.948 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) * 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.001548/13.39, allocations: 1.205 MB / 5.031 GB, free: 239.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001534/13.4, allocations: 1.079 MB / 5.032 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/13.4, allocations: 0 / 5.032 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/13.4, allocations: 218 kB / 5.033 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/13.4, allocations: 0.5797 MB / 5.033 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/13.4, allocations: 1.433 MB / 5.035 GB, free: 238.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/13.4, allocations: 1.239 MB / 5.036 GB, free: 237.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001701/13.4, allocations: 0.7178 MB / 5.036 GB, free: 237.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/13.4, allocations: 48.03 kB / 5.037 GB, free: 237.7 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/13.4, allocations: 2.281 kB / 5.037 GB, free: 237.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03565/13.44, allocations: 25.27 MB / 5.061 GB, free: 231.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)