Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.889/4.889, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 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.002621/0.002621, allocations: 366.4 kB / 0.6447 GB, free: 185.6 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.242/4.242, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001812/0.001812, allocations: 178.4 kB / 1.226 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.000492, allocations: 12.53 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2034, allocations: 115.3 MB / 1.461 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.059/2.263, allocations: 466 MB / 1.916 GB, free: 285.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/2.263, allocations: 106.2 kB / 1.917 GB, free: 285.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 60.4/62.66, allocations: 10.46 GB / 12.38 GB, free: 84.65 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.374e-06/62.66, allocations: 0 / 12.38 GB, free: 84.65 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003926/62.66, allocations: 351.5 kB / 12.38 GB, free: 84.59 MB / 1.214 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.1019/62.77, allocations: 17.44 MB / 12.4 GB, free: 78.73 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/62.77, allocations: 9.875 kB / 12.4 GB, free: 78.73 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/62.79, allocations: 2.069 MB / 12.4 GB, free: 77.95 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08362/62.87, allocations: 18.2 MB / 12.42 GB, free: 75.82 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001215/62.87, allocations: 0.5249 MB / 12.42 GB, free: 75.8 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004162/62.87, allocations: 0.7112 MB / 12.42 GB, free: 75.8 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03258/62.91, allocations: 8.531 MB / 12.42 GB, free: 74.74 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004232/62.91, allocations: 16.03 kB / 12.42 GB, free: 74.74 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002831/62.91, allocations: 255.3 kB / 12.43 GB, free: 74.74 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/62.91, allocations: 160.7 kB / 12.43 GB, free: 74.74 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02608/62.94, allocations: 6.951 MB / 12.43 GB, free: 74.7 MB / 1.214 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.1158/63.05, allocations: 50.54 MB / 12.48 GB, free: 46.98 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/63.07, allocations: 4.916 MB / 12.49 GB, free: 46.82 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01083/63.08, allocations: 3.747 MB / 12.49 GB, free: 46.77 MB / 1.214 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.05512/63.13, allocations: 13.56 MB / 12.5 GB, free: 43.71 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01506/63.15, allocations: 3.387 MB / 12.51 GB, free: 43.59 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02388/63.17, allocations: 2.386 MB / 12.51 GB, free: 43.4 MB / 1.214 GB Notification: Performance of pre-optimization done (n=326): time 3.953e-05/63.17, allocations: 0 / 12.51 GB, free: 43.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=514): time 0.3493/63.52, allocations: 52.75 MB / 12.56 GB, free: 35.26 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/63.52, allocations: 105.2 kB / 12.56 GB, free: 35.19 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03768/63.56, allocations: 13.53 MB / 12.57 GB, free: 34.38 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.00242/63.56, allocations: 178 kB / 12.57 GB, free: 34.35 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01005/63.57, allocations: 6.225 MB / 12.58 GB, free: 32.9 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003148/63.58, allocations: 1.733 MB / 12.58 GB, free: 31.79 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/63.58, allocations: 144.5 kB / 12.58 GB, free: 31.79 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0005955/63.58, allocations: 0.5931 MB / 12.58 GB, free: 31.47 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01886/63.6, allocations: 4.702 MB / 12.59 GB, free: 31.42 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02185/63.62, allocations: 7.661 MB / 12.59 GB, free: 27.95 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02082/63.64, allocations: 5.462 MB / 12.6 GB, free: 27.68 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.173e-05/63.64, allocations: 21.47 kB / 12.6 GB, free: 27.68 MB / 1.214 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.07314/63.71, allocations: 16.41 MB / 12.62 GB, free: 26.44 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001259/63.71, allocations: 1.93 MB / 12.62 GB, free: 24.01 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/63.71, allocations: 63.7 kB / 12.62 GB, free: 24.01 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02793/63.74, allocations: 4.789 MB / 12.62 GB, free: 23.82 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02144/63.76, allocations: 1.955 MB / 12.62 GB, free: 23.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/63.79, allocations: 12.98 MB / 12.64 GB, free: 17.02 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02501/63.81, allocations: 1.205 MB / 12.64 GB, free: 16.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002949/63.81, allocations: 490.3 kB / 12.64 GB, free: 16.9 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/63.81, allocations: 7.531 kB / 12.64 GB, free: 16.9 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06418/63.88, allocations: 14.99 MB / 12.65 GB, free: 16.35 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002431/63.88, allocations: 61.3 kB / 12.65 GB, free: 16.35 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02488/63.9, allocations: 4.565 MB / 12.66 GB, free: 16.17 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01836/63.92, allocations: 1.942 MB / 12.66 GB, free: 16.16 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0444/63.97, allocations: 17.33 MB / 12.68 GB, free: 26.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02393/63.99, allocations: 1.176 MB / 12.68 GB, free: 26.39 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002813/63.99, allocations: 452.3 kB / 12.68 GB, free: 26.39 MB / 1.229 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 (742): * Single equations (assignments): 725 * 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 4,1 2,1 2,1 2,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01322/64.01, allocations: 3.125 MB / 12.68 GB, free: 26.16 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005541/64.01, allocations: 1.2 MB / 12.68 GB, free: 25.49 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06821/64.08, allocations: 14.57 MB / 12.7 GB, free: 24.65 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001313/64.08, allocations: 65.55 kB / 12.7 GB, free: 24.65 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/64.08, allocations: 0 / 12.7 GB, free: 24.65 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06883/64.15, allocations: 11.9 MB / 12.71 GB, free: 23.91 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.1179/64.27, allocations: 26.59 MB / 12.73 GB, free: 21.69 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.911e-05/64.27, allocations: 7.812 kB / 12.73 GB, free: 21.69 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01206/64.28, allocations: 1.155 MB / 12.74 GB, free: 21.67 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02678/64.31, allocations: 3.462 MB / 12.74 GB, free: 21.48 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002033/64.31, allocations: 175.6 kB / 12.74 GB, free: 21.48 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02721/64.34, allocations: 11.64 MB / 12.75 GB, free: 14.78 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/64.34, allocations: 10.62 kB / 12.75 GB, free: 14.78 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08181/64.42, allocations: 19.5 MB / 12.77 GB, free: 12.73 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01134/64.43, allocations: 2.555 MB / 12.77 GB, free: 11.93 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006048/64.43, allocations: 109.5 kB / 12.77 GB, free: 11.93 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02013/64.46, allocations: 0.9746 MB / 12.77 GB, free: 11.84 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001908/64.46, allocations: 398.8 kB / 12.77 GB, free: 11.81 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00161/64.46, allocations: 255 kB / 12.77 GB, free: 11.81 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.0262/64.48, allocations: 9.166 MB / 12.78 GB, free: 8.508 MB / 1.229 GB Notification: Performance of sort global known variables: time 7.31e-07/64.49, allocations: 1.531 kB / 12.78 GB, free: 8.508 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05614/64.54, allocations: 5.978 MB / 12.79 GB, free: 2.582 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (440): * Single equations (assignments): 415 * 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: 7 * 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: 7 {9 78,1 4,1 2,1 2,1 2,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01268/64.55, allocations: 4.925 MB / 12.79 GB, free: 14.07 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.07998/64.63, allocations: 18.78 MB / 12.81 GB, free: 14.51 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/64.63, allocations: 2.438 kB / 12.81 GB, free: 14.51 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.03001/64.66, allocations: 5.446 MB / 12.82 GB, free: 10 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07193/64.74, allocations: 6.073 MB / 12.82 GB, free: 5.672 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.311/66.05, allocations: 27.71 MB / 12.85 GB, free: 104.6 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02686/66.07, allocations: 7.063 MB / 12.86 GB, free: 103.6 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.02925/66.1, allocations: 3.871 MB / 12.86 GB, free: 103.5 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00658/66.11, allocations: 0.9418 MB / 12.86 GB, free: 103.5 MB / 1.261 GB Notification: Performance of SimCode: time 1.694e-06/66.11, allocations: 4.453 kB / 12.86 GB, free: 103.5 MB / 1.261 GB Notification: Performance of Templates: time 0.6842/66.79, allocations: 277.5 MB / 13.13 GB, free: 79.31 MB / 1.261 GB