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.207/2.207, allocations: 252.6 MB / 265.2 MB, free: 5.82 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.001469/0.001468, allocations: 175.8 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 0.5754 GB, free: 10.43 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.001124/0.001124, allocations: 90.69 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.216e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2033, allocations: 106.2 MB / 0.8949 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.93/2.133, allocations: 458.3 MB / 1.342 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/2.134, allocations: 94.95 kB / 1.343 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 57.52/59.65, allocations: 10.21 GB / 11.55 GB, free: 72.04 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.296e-06/59.65, allocations: 0 / 11.55 GB, free: 72.04 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003397/59.66, allocations: 348 kB / 11.55 GB, free: 71.97 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.05489/59.71, allocations: 11.05 MB / 11.56 GB, free: 67.42 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/59.71, allocations: 14.23 kB / 11.56 GB, free: 67.42 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01763/59.73, allocations: 2.074 MB / 11.56 GB, free: 66.64 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08113/59.81, allocations: 18.25 MB / 11.58 GB, free: 64.54 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001285/59.81, allocations: 0.5277 MB / 11.58 GB, free: 64.52 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004646/59.82, allocations: 0.7171 MB / 11.58 GB, free: 64.52 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/59.85, allocations: 8.243 MB / 11.59 GB, free: 63.45 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004237/59.85, allocations: 18.06 kB / 11.59 GB, free: 63.45 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002727/59.85, allocations: 260.2 kB / 11.59 GB, free: 63.45 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/59.85, allocations: 156.6 kB / 11.59 GB, free: 63.45 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/59.87, allocations: 6.554 MB / 11.6 GB, free: 63.41 MB / 1.135 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.116/59.99, allocations: 49.7 MB / 11.65 GB, free: 36.72 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/60, allocations: 4.595 MB / 11.65 GB, free: 36.56 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009412/60.01, allocations: 3.574 MB / 11.65 GB, free: 36.51 MB / 1.135 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 evalFunc (simulation): time 0.05376/60.06, allocations: 13.6 MB / 11.67 GB, free: 33.43 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008999/60.07, allocations: 3.199 MB / 11.67 GB, free: 33.32 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01767/60.09, allocations: 2.389 MB / 11.67 GB, free: 33.12 MB / 1.135 GB Notification: Performance of pre-optimization done (n=326): time 2.275e-05/60.09, allocations: 0 / 11.67 GB, free: 33.12 MB / 1.135 GB Notification: Performance of matching and sorting (n=514): time 0.1823/60.27, allocations: 35.44 MB / 11.71 GB, free: 25.84 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/60.27, allocations: 107.3 kB / 11.71 GB, free: 25.77 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03719/60.31, allocations: 12.05 MB / 11.72 GB, free: 24.98 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.002438/60.31, allocations: 176 kB / 11.72 GB, free: 24.95 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01244/60.33, allocations: 6.234 MB / 11.73 GB, free: 23.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.003779/60.33, allocations: 1.736 MB / 11.73 GB, free: 22.38 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/60.33, allocations: 145 kB / 11.73 GB, free: 22.38 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0008408/60.33, allocations: 0.5952 MB / 11.73 GB, free: 22.07 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01183/60.34, allocations: 3.861 MB / 11.73 GB, free: 22.05 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01463/60.36, allocations: 6.772 MB / 11.74 GB, free: 18.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/60.37, allocations: 4.69 MB / 11.74 GB, free: 18.52 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/60.37, allocations: 15.78 kB / 11.74 GB, free: 18.52 MB / 1.135 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.04879/60.42, allocations: 13.83 MB / 11.76 GB, free: 17.44 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.01259/60.43, allocations: 38.51 MB / 11.79 GB, free: 9.379 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003173/60.44, allocations: 58.38 kB / 11.79 GB, free: 9.379 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/60.45, allocations: 3.398 MB / 11.8 GB, free: 9.23 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01965/60.47, allocations: 1.794 MB / 11.8 GB, free: 9.219 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/60.49, allocations: 12.33 MB / 11.81 GB, free: 18.46 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02415/60.52, allocations: 1.126 MB / 11.81 GB, free: 18.36 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002881/60.52, allocations: 487.9 kB / 11.81 GB, free: 18.36 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/60.52, allocations: 5.188 kB / 11.81 GB, free: 18.36 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0438/60.56, allocations: 12.81 MB / 11.83 GB, free: 17.89 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/60.56, allocations: 57.53 kB / 11.83 GB, free: 17.89 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/60.58, allocations: 3.646 MB / 11.83 GB, free: 17.74 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01639/60.59, allocations: 1.792 MB / 11.83 GB, free: 17.73 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04016/60.63, allocations: 16.61 MB / 11.85 GB, free: 12.11 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02326/60.66, allocations: 1.105 MB / 11.85 GB, free: 12.01 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002822/60.66, allocations: 447.6 kB / 11.85 GB, free: 12.01 MB / 1.182 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 () * 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,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004666/60.66, allocations: 0.5432 MB / 11.85 GB, free: 11.86 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005005/60.67, allocations: 1.198 MB / 11.85 GB, free: 11.19 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04286/60.71, allocations: 12.24 MB / 11.86 GB, free: 10.44 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001238/60.71, allocations: 62.47 kB / 11.86 GB, free: 10.44 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/60.71, allocations: 4 kB / 11.86 GB, free: 10.43 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02963/60.74, allocations: 9.653 MB / 11.87 GB, free: 9.676 MB / 1.182 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.07911/60.82, allocations: 24.18 MB / 11.9 GB, free: 7.293 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.309e-05/60.82, allocations: 6.719 kB / 11.9 GB, free: 7.293 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01116/60.83, allocations: 1.098 MB / 11.9 GB, free: 7.238 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009685/60.84, allocations: 2.397 MB / 11.9 GB, free: 7.066 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00144/60.84, allocations: 169.7 kB / 11.9 GB, free: 7.066 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/60.86, allocations: 10.98 MB / 11.91 GB, free: 320 kB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/60.86, allocations: 15.02 kB / 11.91 GB, free: 312 kB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04657/60.9, allocations: 18.8 MB / 11.93 GB, free: 9.918 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0119/60.92, allocations: 2.522 MB / 11.93 GB, free: 8.562 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005647/60.92, allocations: 110 kB / 11.93 GB, free: 8.488 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01888/60.94, allocations: 0.9124 MB / 11.93 GB, free: 8.32 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/60.94, allocations: 396.1 kB / 11.93 GB, free: 8.254 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001113/60.94, allocations: 250.7 kB / 11.93 GB, free: 8.211 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.02807/60.97, allocations: 9.156 MB / 11.94 GB, free: 376 kB / 1.198 GB Notification: Performance of sort global known variables: time 1.583e-06/60.97, allocations: 0 / 11.94 GB, free: 376 kB / 1.198 GB Notification: Performance of remove unused functions: time 1.162/62.13, allocations: 5.939 MB / 11.95 GB, free: 132.8 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 416 * 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 {8 73,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01304/62.15, allocations: 4.982 MB / 11.95 GB, free: 131 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.05412/62.2, allocations: 16.61 MB / 11.97 GB, free: 130.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/62.2, allocations: 3.219 kB / 11.97 GB, free: 130.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.01432/62.22, allocations: 4.586 MB / 11.97 GB, free: 130.3 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0515/62.27, allocations: 5.975 MB / 11.98 GB, free: 130.3 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05907/62.33, allocations: 19.36 MB / 12 GB, free: 126.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0153/62.34, allocations: 7.079 MB / 12 GB, free: 125.1 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.0479/62.39, allocations: 6.462 MB / 12.01 GB, free: 125 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004969/62.39, allocations: 0.6773 MB / 12.01 GB, free: 125 MB / 1.198 GB Notification: Performance of SimCode: time 1.823e-06/62.39, allocations: 5.688 kB / 12.01 GB, free: 125 MB / 1.198 GB Notification: Performance of Templates: time 0.7387/63.13, allocations: 301.4 MB / 12.31 GB, free: 29.96 MB / 1.198 GB