Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.317/2.317, allocations: 253.2 MB / 260.6 MB, free: 7.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 183 kB / 319.9 MB, free: 3.027 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 80.8 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.93e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1976, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.165/7.363, allocations: 2.182 GB / 3.071 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/7.363, allocations: 94.06 kB / 3.071 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.923/17.29, allocations: 1.891 GB / 4.962 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.294e-06/17.29, allocations: 0 / 4.962 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002105/17.29, allocations: 40.03 kB / 4.962 GB, free: 213.9 MB / 0.8698 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.006741/17.29, allocations: 1.265 MB / 4.963 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/17.29, allocations: 11.84 kB / 4.963 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/17.29, allocations: 203.6 kB / 4.963 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006552/17.3, allocations: 1.43 MB / 4.965 GB, free: 213 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/17.3, allocations: 18.16 kB / 4.965 GB, free: 213 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/17.3, allocations: 43.31 kB / 4.965 GB, free: 213 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001659/17.3, allocations: 0.6948 MB / 4.965 GB, free: 213 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/17.3, allocations: 0.8515 MB / 4.966 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/17.3, allocations: 4.906 kB / 4.966 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/17.3, allocations: 3.125 kB / 4.966 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/17.3, allocations: 13.59 kB / 4.966 GB, free: 212.8 MB / 0.8698 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.006358/17.31, allocations: 4.603 MB / 4.971 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/17.31, allocations: 4.078 MB / 4.975 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/17.31, allocations: 332.7 kB / 4.975 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/17.31, allocations: 201.7 kB / 4.975 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005491/17.32, allocations: 289.2 kB / 4.975 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006396/17.32, allocations: 26.56 kB / 4.975 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 3.095e-06/17.32, allocations: 0 / 4.975 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.002729/17.32, allocations: 0.8044 MB / 4.976 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/17.32, allocations: 80.95 kB / 4.976 GB, free: 205 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/17.32, allocations: 0.8994 MB / 4.977 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/17.32, allocations: 28.95 kB / 4.977 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/17.32, allocations: 0.5248 MB / 4.978 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/17.32, allocations: 115.9 kB / 4.978 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/17.32, allocations: 11.08 kB / 4.978 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.125e-05/17.32, allocations: 331.1 kB / 4.978 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/17.32, allocations: 199.4 kB / 4.978 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006869/17.32, allocations: 0.538 MB / 4.979 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/17.32, allocations: 289.8 kB / 4.979 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/17.32, allocations: 0 / 4.979 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002849/17.33, allocations: 0.9662 MB / 4.98 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005469/17.33, allocations: 2.213 MB / 4.982 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/17.33, allocations: 3.844 kB / 4.982 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000741/17.33, allocations: 230.9 kB / 4.983 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/17.33, allocations: 82.7 kB / 4.983 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/17.33, allocations: 1.106 MB / 4.984 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/17.33, allocations: 95.02 kB / 4.984 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/17.33, allocations: 28.34 kB / 4.984 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/17.33, allocations: 3.375 kB / 4.984 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001738/17.33, allocations: 0.6541 MB / 4.984 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/17.33, allocations: 7.75 kB / 4.984 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008826/17.33, allocations: 204.6 kB / 4.985 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/17.34, allocations: 80.11 kB / 4.985 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/17.34, allocations: 2.771 MB / 4.987 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/17.34, allocations: 96.62 kB / 4.988 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/17.34, allocations: 21.91 kB / 4.988 GB, free: 199.5 MB / 0.8698 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.0002249/17.34, allocations: 125.3 kB / 4.988 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/17.34, allocations: 101.8 kB / 4.988 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/17.34, allocations: 0.7117 MB / 4.988 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/17.34, allocations: 3.906 kB / 4.988 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/17.34, allocations: 3.688 kB / 4.988 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/17.34, allocations: 10.91 kB / 4.988 GB, free: 199.3 MB / 0.8698 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.004038/17.35, allocations: 2.009 MB / 4.99 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/17.35, allocations: 6.969 kB / 4.99 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/17.35, allocations: 49.36 kB / 4.99 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/17.35, allocations: 137.5 kB / 4.991 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/17.35, allocations: 3.969 kB / 4.991 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009499/17.35, allocations: 0.8728 MB / 4.991 GB, free: 198 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/17.35, allocations: 0 / 4.991 GB, free: 198 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/17.35, allocations: 0.9001 MB / 4.992 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/17.35, allocations: 222.2 kB / 4.993 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/17.35, allocations: 3.812 kB / 4.993 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/17.35, allocations: 76.75 kB / 4.993 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/17.35, allocations: 44.36 kB / 4.993 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/17.35, allocations: 11.44 kB / 4.993 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001219/17.36, allocations: 0.697 MB / 4.993 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.52e-07/17.36, allocations: 0 / 4.993 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002534/17.36, allocations: 0.5756 MB / 4.994 GB, free: 197.3 MB / 0.8698 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.002097/17.36, allocations: 1.191 MB / 4.995 GB, free: 197 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002521/17.36, allocations: 1.082 MB / 4.996 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/17.36, allocations: 0 / 4.996 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/17.36, allocations: 218.8 kB / 4.996 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005558/17.37, allocations: 0.5838 MB / 4.997 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/17.37, allocations: 1.431 MB / 4.998 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/17.37, allocations: 1.235 MB / 5 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003414/17.38, allocations: 0.7276 MB / 5 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/17.38, allocations: 48.25 kB / 5 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.963e-06/17.38, allocations: 0 / 5 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.06123/17.44, allocations: 25.28 MB / 5.025 GB, free: 193.4 MB / 0.8698 GB