Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.124/2.124, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.00157/0.00157, allocations: 175.5 kB / 325.6 MB, free: 2.844 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.412/2.412, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001174/0.001173, allocations: 94.34 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.000475, allocations: 15.75 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.539, allocations: 457.8 MB / 1.346 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/1.539, allocations: 102.9 kB / 1.346 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 57.21/58.75, allocations: 10.01 GB / 11.36 GB, free: 66.53 MB / 1.135 GB Notification: Performance of FrontEnd: time 4.298e-06/58.75, allocations: 0.875 kB / 11.36 GB, free: 66.53 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003337/58.75, allocations: 356.2 kB / 11.36 GB, free: 66.46 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.09782/58.85, allocations: 17.52 MB / 11.37 GB, free: 60.52 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/58.85, allocations: 10.06 kB / 11.37 GB, free: 60.52 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02069/58.87, allocations: 2.224 MB / 11.38 GB, free: 59.73 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09508/58.97, allocations: 18.8 MB / 11.39 GB, free: 57.62 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001145/58.97, allocations: 0.5308 MB / 11.39 GB, free: 57.61 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005205/58.97, allocations: 0.7031 MB / 11.4 GB, free: 57.61 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0462/59.02, allocations: 13.29 MB / 11.41 GB, free: 57.01 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004924/59.02, allocations: 8.375 kB / 11.41 GB, free: 57.01 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004048/59.02, allocations: 247.2 kB / 11.41 GB, free: 57.01 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001985/59.02, allocations: 149.5 kB / 11.41 GB, free: 57.01 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04927/59.07, allocations: 17.92 MB / 11.43 GB, free: 56.96 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.1793/59.25, allocations: 69.96 MB / 11.49 GB, free: 25.19 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02605/59.28, allocations: 9.71 MB / 11.5 GB, free: 25.02 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.08777/59.37, allocations: 29.13 MB / 11.53 GB, free: 16.98 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02283/59.39, allocations: 8.258 MB / 11.54 GB, free: 16.86 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08133/59.47, allocations: 15.08 MB / 11.56 GB, free: 16.65 MB / 1.135 GB Notification: Performance of pre-optimization done (n=394): time 4.253e-05/59.47, allocations: 0 / 11.56 GB, free: 16.65 MB / 1.135 GB Notification: Performance of matching and sorting (n=583): time 0.8104/60.28, allocations: 114.2 MB / 11.67 GB, free: 6.941 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/60.28, allocations: 125.2 kB / 11.67 GB, free: 6.867 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03673/60.32, allocations: 11.97 MB / 11.68 GB, free: 6.16 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.004121/60.32, allocations: 180.2 kB / 11.68 GB, free: 6.129 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01068/60.33, allocations: 6.02 MB / 11.68 GB, free: 4.816 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.005292/60.34, allocations: 1.964 MB / 11.69 GB, free: 3.543 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004108/60.34, allocations: 144.8 kB / 11.69 GB, free: 3.543 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0007887/60.34, allocations: 0.5962 MB / 11.69 GB, free: 3.227 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02653/60.37, allocations: 8.312 MB / 11.7 GB, free: 3.188 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03101/60.4, allocations: 10.9 MB / 11.71 GB, free: 16 kB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03082/60.43, allocations: 9.225 MB / 11.71 GB, free: 12.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.74e-05/60.43, allocations: 12.78 kB / 11.71 GB, free: 12.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.1041/60.54, allocations: 27.22 MB / 11.74 GB, free: 11.77 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.159/61.7, allocations: 29.64 MB / 11.77 GB, free: 103.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/61.7, allocations: 46.06 kB / 11.77 GB, free: 103.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585/63.28, allocations: 170.6 MB / 11.94 GB, free: 103.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01811/63.3, allocations: 1.679 MB / 11.94 GB, free: 103.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08454/63.38, allocations: 26.75 MB / 11.96 GB, free: 98.11 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03034/63.41, allocations: 1.209 MB / 11.97 GB, free: 98.05 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005005/63.42, allocations: 0.7981 MB / 11.97 GB, free: 98.05 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/63.42, allocations: 9.547 kB / 11.97 GB, free: 98.05 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09332/63.51, allocations: 26.23 MB / 11.99 GB, free: 97.57 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002277/63.51, allocations: 48.72 kB / 11.99 GB, free: 97.57 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603/65.12, allocations: 170.9 MB / 12.16 GB, free: 13.14 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0153/65.13, allocations: 1.664 MB / 12.16 GB, free: 11.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1105/65.24, allocations: 31.78 MB / 12.19 GB, free: 3.879 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03032/65.27, allocations: 1.184 MB / 12.19 GB, free: 2.879 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004813/65.28, allocations: 0.7567 MB / 12.19 GB, free: 2.18 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (658): * Single equations (assignments): 644 * 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 {39 57,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01559/65.29, allocations: 3.1 MB / 12.2 GB, free: 280 kB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007196/65.3, allocations: 1.201 MB / 12.2 GB, free: 15.72 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.228/66.53, allocations: 24.45 MB / 12.22 GB, free: 152.2 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002381/66.53, allocations: 77.03 kB / 12.22 GB, free: 152.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/66.53, allocations: 0 / 12.22 GB, free: 152.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07726/66.6, allocations: 18.93 MB / 12.24 GB, free: 151.6 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 postOpt removeSimpleEquations (simulation): time 0.2133/66.82, allocations: 45.38 MB / 12.28 GB, free: 145.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001114/66.82, allocations: 11.81 kB / 12.28 GB, free: 145.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01128/66.83, allocations: 1.176 MB / 12.29 GB, free: 145.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4155/67.24, allocations: 48.98 MB / 12.33 GB, free: 145.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002248/67.25, allocations: 207 kB / 12.33 GB, free: 145.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0426/67.29, allocations: 14.86 MB / 12.35 GB, free: 140 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/67.29, allocations: 9.375 kB / 12.35 GB, free: 140 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09331/67.38, allocations: 30.98 MB / 12.38 GB, free: 136.6 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01341/67.4, allocations: 2.914 MB / 12.38 GB, free: 136.5 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006586/67.4, allocations: 127.8 kB / 12.38 GB, free: 136.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02224/67.43, allocations: 0.9321 MB / 12.38 GB, free: 136.5 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002978/67.43, allocations: 458.9 kB / 12.38 GB, free: 136.5 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002269/67.43, allocations: 291.5 kB / 12.38 GB, free: 136.5 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.0267/67.46, allocations: 9.168 MB / 12.39 GB, free: 136.1 MB / 1.229 GB Notification: Performance of sort global known variables: time 4.5e-07/67.46, allocations: 0.875 kB / 12.39 GB, free: 136.1 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06126/67.52, allocations: 6.522 MB / 12.4 GB, free: 136.1 MB / 1.229 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 (489): * Single equations (assignments): 467 * 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: 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 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01292/67.53, allocations: 5.01 MB / 12.4 GB, free: 134.3 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1384/67.67, allocations: 34.57 MB / 12.44 GB, free: 133.6 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/67.67, allocations: 0 / 12.44 GB, free: 133.6 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03729/67.71, allocations: 9.67 MB / 12.45 GB, free: 133.4 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05432/67.76, allocations: 6.251 MB / 12.45 GB, free: 133.4 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07853/67.84, allocations: 29.87 MB / 12.48 GB, free: 122.5 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01796/67.86, allocations: 7.157 MB / 12.49 GB, free: 121.5 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04838/67.91, allocations: 3.731 MB / 12.49 GB, free: 121.1 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01186/67.92, allocations: 0.9897 MB / 12.49 GB, free: 121.1 MB / 1.229 GB Notification: Performance of SimCode: time 1.794e-06/67.92, allocations: 0 / 12.49 GB, free: 121.1 MB / 1.229 GB Notification: Performance of Templates: time 3.182/71.1, allocations: 406.9 MB / 12.89 GB, free: 133.9 MB / 1.229 GB