Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified4.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.833/4.833, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002629/0.002629, allocations: 359.4 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.212/4.212, allocations: 410.7 MB / 1.113 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001872/0.001872, allocations: 186.5 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006863/0.0006866, allocations: 12 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7548, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/2.037, allocations: 464.8 MB / 1.915 GB, free: 73.82 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/2.037, allocations: 111.7 kB / 1.915 GB, free: 73.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 57.54/59.58, allocations: 10.29 GB / 12.2 GB, free: 57.18 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.755e-06/59.58, allocations: 2.156 kB / 12.2 GB, free: 57.18 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.003383/59.59, allocations: 383.8 kB / 12.2 GB, free: 57.1 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.09828/59.68, allocations: 18.71 MB / 12.22 GB, free: 49.97 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/59.68, allocations: 14.75 kB / 12.22 GB, free: 49.97 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/59.7, allocations: 2.183 MB / 12.22 GB, free: 49.09 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0901/59.79, allocations: 19.89 MB / 12.24 GB, free: 46.4 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/59.79, allocations: 0.6052 MB / 12.24 GB, free: 46.13 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005104/59.8, allocations: 0.8088 MB / 12.24 GB, free: 45.87 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04722/59.85, allocations: 14.29 MB / 12.26 GB, free: 40.32 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005204/59.85, allocations: 15.72 kB / 12.26 GB, free: 40.31 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004033/59.85, allocations: 291.5 kB / 12.26 GB, free: 40.08 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/59.85, allocations: 190.5 kB / 12.26 GB, free: 39.9 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04981/59.9, allocations: 18.47 MB / 12.28 GB, free: 23.69 MB / 1.229 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 1.385/61.29, allocations: 74 MB / 12.35 GB, free: 66.27 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02562/61.31, allocations: 9.805 MB / 12.36 GB, free: 66.11 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02095/61.33, allocations: 8.665 MB / 12.37 GB, free: 66.05 MB / 1.245 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.09753/61.43, allocations: 30.12 MB / 12.4 GB, free: 57.7 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02234/61.45, allocations: 8.282 MB / 12.4 GB, free: 57.58 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08088/61.53, allocations: 14.95 MB / 12.42 GB, free: 57.58 MB / 1.245 GB Notification: Performance of pre-optimization done (n=427): time 4.463e-05/61.53, allocations: 0.6562 kB / 12.42 GB, free: 57.58 MB / 1.245 GB Notification: Performance of matching and sorting (n=613): time 0.7861/62.32, allocations: 112.3 MB / 12.53 GB, free: 50.64 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/62.32, allocations: 116.3 kB / 12.53 GB, free: 50.57 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04038/62.36, allocations: 14.06 MB / 12.54 GB, free: 49.82 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.004037/62.36, allocations: 192.9 kB / 12.54 GB, free: 49.79 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01112/62.37, allocations: 6.641 MB / 12.55 GB, free: 48.67 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.005418/62.38, allocations: 2.071 MB / 12.55 GB, free: 47.62 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003389/62.38, allocations: 158.3 kB / 12.55 GB, free: 47.61 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0007163/62.38, allocations: 0.6234 MB / 12.55 GB, free: 47.29 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02842/62.41, allocations: 8.622 MB / 12.56 GB, free: 47.24 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0318/62.44, allocations: 11.45 MB / 12.57 GB, free: 44.01 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03091/62.48, allocations: 9.582 MB / 12.58 GB, free: 43.75 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.886e-05/62.48, allocations: 15.69 kB / 12.58 GB, free: 43.75 MB / 1.245 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.1101/62.59, allocations: 28.52 MB / 12.61 GB, free: 42.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001143/62.59, allocations: 1.733 MB / 12.61 GB, free: 40.32 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/62.59, allocations: 51.31 kB / 12.61 GB, free: 40.32 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417/64, allocations: 147.8 MB / 12.76 GB, free: 2.824 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02198/64.03, allocations: 2.054 MB / 12.76 GB, free: 0.9141 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08168/64.11, allocations: 25.29 MB / 12.78 GB, free: 12.82 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0348/64.14, allocations: 1.36 MB / 12.78 GB, free: 11.63 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005769/64.15, allocations: 0.8174 MB / 12.78 GB, free: 10.88 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/64.15, allocations: 4 kB / 12.78 GB, free: 10.88 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.318/65.47, allocations: 27.11 MB / 12.81 GB, free: 108.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002235/65.47, allocations: 61.58 kB / 12.81 GB, free: 108.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409/66.88, allocations: 147.8 MB / 12.95 GB, free: 108.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01909/66.89, allocations: 2.035 MB / 12.96 GB, free: 108.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09528/66.99, allocations: 29.59 MB / 12.99 GB, free: 104.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03213/67.02, allocations: 1.326 MB / 12.99 GB, free: 104.7 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004934/67.03, allocations: 0.7777 MB / 12.99 GB, free: 104.7 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * 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: 3 * 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: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01587/67.04, allocations: 3.355 MB / 12.99 GB, free: 104.5 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006991/67.05, allocations: 1.289 MB / 12.99 GB, free: 104.5 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1285/67.18, allocations: 26.56 MB / 13.02 GB, free: 103.8 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001552/67.18, allocations: 76.16 kB / 13.02 GB, free: 103.8 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/67.18, allocations: 3.188 kB / 13.02 GB, free: 103.8 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09776/67.28, allocations: 20.9 MB / 13.04 GB, free: 103.2 MB / 1.276 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.3278/67.6, allocations: 57.88 MB / 13.1 GB, free: 96.59 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001175/67.6, allocations: 8 kB / 13.1 GB, free: 96.59 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01355/67.62, allocations: 1.35 MB / 13.1 GB, free: 96.57 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3861/68, allocations: 43 MB / 13.14 GB, free: 84.82 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002347/68.01, allocations: 209.6 kB / 13.14 GB, free: 84.74 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03841/68.05, allocations: 14.37 MB / 13.15 GB, free: 74.75 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/68.05, allocations: 11.47 kB / 13.15 GB, free: 74.74 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1716/68.22, allocations: 36.23 MB / 13.19 GB, free: 56.9 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01448/68.23, allocations: 3.075 MB / 13.19 GB, free: 55.07 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006977/68.24, allocations: 137.5 kB / 13.19 GB, free: 55.04 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02522/68.26, allocations: 1.06 MB / 13.19 GB, free: 54.39 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003034/68.27, allocations: 484.4 kB / 13.19 GB, free: 54.16 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002414/68.27, allocations: 304.6 kB / 13.19 GB, free: 53.96 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02686/68.3, allocations: 9.538 MB / 13.2 GB, free: 49.11 MB / 1.276 GB Notification: Performance of sort global known variables: time 8.21e-07/68.3, allocations: 3.375 kB / 13.2 GB, free: 49.11 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.0685/68.36, allocations: 7.118 MB / 13.21 GB, free: 42.87 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 4 {9 78,30 38,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01325/68.38, allocations: 5.409 MB / 13.21 GB, free: 38.34 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1363/68.51, allocations: 34.96 MB / 13.25 GB, free: 18.89 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/68.51, allocations: 4 kB / 13.25 GB, free: 18.89 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.0374/68.55, allocations: 9.778 MB / 13.26 GB, free: 12.89 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07696/68.63, allocations: 6.935 MB / 13.26 GB, free: 6.953 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.566/71.2, allocations: 32.29 MB / 13.3 GB, free: 90.42 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01881/71.21, allocations: 7.65 MB / 13.3 GB, free: 89.43 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03453/71.25, allocations: 4.085 MB / 13.31 GB, free: 89.31 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008071/71.26, allocations: 1.085 MB / 13.31 GB, free: 89.31 MB / 1.276 GB Notification: Performance of SimCode: time 1.764e-06/71.26, allocations: 0 / 13.31 GB, free: 89.31 MB / 1.276 GB Notification: Performance of Templates: time 1.004/72.26, allocations: 423.3 MB / 13.72 GB, free: 3.578 MB / 1.339 GB