Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.412/2.412, allocations: 251.1 MB / 266.1 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001938/0.001938, allocations: 186.8 kB / 325.6 MB, free: 2.848 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.352/2.352, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001163/0.001163, allocations: 93.5 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004692, allocations: 15.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.535, allocations: 458.4 MB / 1.347 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/1.535, allocations: 99.08 kB / 1.347 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 57.23/58.76, allocations: 10.24 GB / 11.59 GB, free: 82.63 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.055e-06/58.76, allocations: 0 / 11.59 GB, free: 82.63 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003397/58.77, allocations: 344.9 kB / 11.59 GB, free: 82.56 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.09135/58.86, allocations: 17.44 MB / 11.6 GB, free: 75.95 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/58.86, allocations: 11.22 kB / 11.6 GB, free: 75.95 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/58.87, allocations: 2.073 MB / 11.6 GB, free: 75.12 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08064/58.96, allocations: 18.46 MB / 11.62 GB, free: 72.32 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/58.96, allocations: 0.5284 MB / 11.62 GB, free: 72.09 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004073/58.96, allocations: 0.7073 MB / 11.62 GB, free: 71.86 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03114/58.99, allocations: 8.461 MB / 11.63 GB, free: 68.13 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003932/58.99, allocations: 15.72 kB / 11.63 GB, free: 68.12 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002819/59, allocations: 253.7 kB / 11.63 GB, free: 67.94 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/59, allocations: 149.6 kB / 11.63 GB, free: 67.94 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02747/59.02, allocations: 6.899 MB / 11.64 GB, free: 62.19 MB / 1.135 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.1093/59.13, allocations: 49.71 MB / 11.69 GB, free: 13.42 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/59.15, allocations: 4.849 MB / 11.69 GB, free: 8.57 MB / 1.135 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 evalFunc (simulation): time 0.05079/59.2, allocations: 13.4 MB / 11.71 GB, free: 10.76 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01066/59.21, allocations: 3.32 MB / 11.71 GB, free: 7.402 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01789/59.23, allocations: 2.447 MB / 11.71 GB, free: 4.949 MB / 1.151 GB Notification: Performance of pre-optimization done (n=327): time 1.828e-05/59.23, allocations: 4 kB / 11.71 GB, free: 4.945 MB / 1.151 GB Notification: Performance of matching and sorting (n=516): time 1.375/60.6, allocations: 44.65 MB / 11.75 GB, free: 102.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/60.6, allocations: 109.3 kB / 11.75 GB, free: 102 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03816/60.64, allocations: 12.19 MB / 11.77 GB, free: 101.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002373/60.64, allocations: 176.1 kB / 11.77 GB, free: 101.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01098/60.65, allocations: 6.225 MB / 11.77 GB, free: 100.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003408/60.66, allocations: 1.742 MB / 11.77 GB, free: 99.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001931/60.66, allocations: 140.7 kB / 11.77 GB, free: 99.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0006684/60.66, allocations: 0.597 MB / 11.78 GB, free: 99.07 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01678/60.68, allocations: 4.386 MB / 11.78 GB, free: 99.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01999/60.7, allocations: 7.316 MB / 11.79 GB, free: 95.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01892/60.71, allocations: 5.186 MB / 11.79 GB, free: 95.55 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/60.71, allocations: 16.16 kB / 11.79 GB, free: 95.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.05662/60.77, allocations: 14.88 MB / 11.81 GB, free: 94.51 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.007926/60.78, allocations: 38.51 MB / 11.84 GB, free: 54.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003083/60.78, allocations: 62.06 kB / 11.84 GB, free: 54.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01328/60.79, allocations: 3.507 MB / 11.85 GB, free: 54.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01886/60.81, allocations: 1.792 MB / 11.85 GB, free: 54.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/60.83, allocations: 12.37 MB / 11.86 GB, free: 47.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02356/60.86, allocations: 1.133 MB / 11.86 GB, free: 47.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002761/60.86, allocations: 489.5 kB / 11.86 GB, free: 47.79 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/60.86, allocations: 2.531 kB / 11.86 GB, free: 47.79 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05307/60.91, allocations: 13.89 MB / 11.88 GB, free: 47.43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003524/60.91, allocations: 58.44 kB / 11.88 GB, free: 47.43 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01477/60.93, allocations: 3.796 MB / 11.88 GB, free: 47.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01592/60.94, allocations: 1.775 MB / 11.88 GB, free: 47.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04057/60.98, allocations: 17.36 MB / 11.9 GB, free: 41.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02175/61, allocations: 1.106 MB / 11.9 GB, free: 41.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002651/61.01, allocations: 447.6 kB / 11.9 GB, free: 41.56 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 721 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01189/61.02, allocations: 3.121 MB / 11.9 GB, free: 41.37 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004616/61.02, allocations: 1.201 MB / 11.9 GB, free: 40.71 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05185/61.08, allocations: 13.31 MB / 11.92 GB, free: 40.13 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001357/61.08, allocations: 62.33 kB / 11.92 GB, free: 40.13 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/61.08, allocations: 0 / 11.92 GB, free: 40.13 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03845/61.11, allocations: 10.7 MB / 11.93 GB, free: 39.55 MB / 1.151 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.0832/61.2, allocations: 25.02 MB / 11.95 GB, free: 37.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.233e-05/61.2, allocations: 5.656 kB / 11.95 GB, free: 37.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01073/61.21, allocations: 1.083 MB / 11.95 GB, free: 37.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009558/61.22, allocations: 2.391 MB / 11.96 GB, free: 37.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001419/61.22, allocations: 166.9 kB / 11.96 GB, free: 37.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/61.23, allocations: 10.98 MB / 11.97 GB, free: 46.66 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/61.23, allocations: 14.23 kB / 11.97 GB, free: 46.66 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05852/61.29, allocations: 19.94 MB / 11.99 GB, free: 42.43 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01066/61.3, allocations: 2.524 MB / 11.99 GB, free: 41.65 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005051/61.31, allocations: 107.6 kB / 11.99 GB, free: 41.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01799/61.33, allocations: 0.9089 MB / 11.99 GB, free: 41.57 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001869/61.33, allocations: 395.2 kB / 11.99 GB, free: 41.55 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001058/61.33, allocations: 254.4 kB / 11.99 GB, free: 41.55 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02785/61.36, allocations: 9.29 MB / 12 GB, free: 41.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.242e-06/61.36, allocations: 4 kB / 12 GB, free: 41.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.07413/61.43, allocations: 5.955 MB / 12.01 GB, free: 41.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01617/61.45, allocations: 4.984 MB / 12.01 GB, free: 38.96 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.06912/61.52, allocations: 17.73 MB / 12.03 GB, free: 37.88 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/61.52, allocations: 0 / 12.03 GB, free: 37.88 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01967/61.54, allocations: 4.999 MB / 12.03 GB, free: 37.69 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05012/61.59, allocations: 5.955 MB / 12.04 GB, free: 37.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07138/61.66, allocations: 27.37 MB / 12.06 GB, free: 26.39 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01531/61.67, allocations: 7.069 MB / 12.07 GB, free: 25.28 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02983/61.7, allocations: 3.843 MB / 12.08 GB, free: 23.01 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006496/61.71, allocations: 0.9503 MB / 12.08 GB, free: 22.23 MB / 1.167 GB Notification: Performance of SimCode: time 1.202e-06/61.71, allocations: 8 kB / 12.08 GB, free: 22.22 MB / 1.167 GB Notification: Performance of Templates: time 3.029/64.74, allocations: 272.4 MB / 12.34 GB, free: 140 MB / 1.198 GB