Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadModel(Buildings): time 3.97/3.97, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.079e-05, allocations: 4 kB / 0.5325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5042, allocations: 98.73 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.518, allocations: 448.3 MB / 1.067 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.518, allocations: 93.64 kB / 1.067 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 47.28/48.79, allocations: 9.839 GB / 10.91 GB, free: 60.05 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.298e-06/48.79, allocations: 0 / 10.91 GB, free: 60.05 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.002534/48.8, allocations: 343.3 kB / 10.91 GB, free: 59.98 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.04103/48.84, allocations: 11.03 MB / 10.92 GB, free: 55.08 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/48.84, allocations: 10.12 kB / 10.92 GB, free: 55.08 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/48.85, allocations: 2.37 MB / 10.92 GB, free: 54.3 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06787/48.92, allocations: 18.74 MB / 10.94 GB, free: 52.14 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004679/48.92, allocations: 195 kB / 10.94 GB, free: 52.14 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003682/48.93, allocations: 427.9 kB / 10.94 GB, free: 52.14 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03581/48.96, allocations: 17.77 MB / 10.96 GB, free: 52.11 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/48.99, allocations: 12.12 MB / 10.97 GB, free: 51.52 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002692/49, allocations: 11.3 kB / 10.97 GB, free: 51.52 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002747/49, allocations: 7.438 kB / 10.97 GB, free: 51.52 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/49, allocations: 153.7 kB / 10.97 GB, free: 51.52 MB / 1.073 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.1298/49.13, allocations: 68.85 MB / 11.04 GB, free: 19.41 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01707/49.15, allocations: 10.15 MB / 11.04 GB, free: 19.25 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01443/49.16, allocations: 8.745 MB / 11.05 GB, free: 19.18 MB / 1.073 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.07002/49.23, allocations: 29.27 MB / 11.08 GB, free: 5.363 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01541/49.25, allocations: 8.015 MB / 11.09 GB, free: 2.43 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08278/49.33, allocations: 16.57 MB / 11.11 GB, free: 15.86 MB / 1.089 GB Notification: Performance of pre-optimization done (n=392): time 3.94e-05/49.33, allocations: 4 kB / 11.11 GB, free: 15.86 MB / 1.089 GB Notification: Performance of matching and sorting (n=394): time 0.9709/50.3, allocations: 37.33 MB / 11.14 GB, free: 83.8 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/50.3, allocations: 97.5 kB / 11.14 GB, free: 83.73 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02864/50.33, allocations: 11.06 MB / 11.15 GB, free: 83.09 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003729/50.33, allocations: 39.42 kB / 11.15 GB, free: 83.05 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01231/50.34, allocations: 6.043 MB / 11.16 GB, free: 82.14 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.003454/50.35, allocations: 1.285 MB / 11.16 GB, free: 81.47 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002444/50.35, allocations: 5.094 kB / 11.16 GB, free: 81.47 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0006068/50.35, allocations: 0.5388 MB / 11.16 GB, free: 81.15 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01349/50.36, allocations: 6.876 MB / 11.17 GB, free: 81.14 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01543/50.38, allocations: 9.3 MB / 11.18 GB, free: 78.29 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01839/50.4, allocations: 7.922 MB / 11.18 GB, free: 78.17 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.597e-05/50.4, allocations: 14.62 kB / 11.18 GB, free: 78.17 MB / 1.089 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.06151/50.46, allocations: 22.9 MB / 11.21 GB, free: 77.27 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.005545/50.47, allocations: 29.72 MB / 11.24 GB, free: 46.59 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/50.47, allocations: 45.44 kB / 11.24 GB, free: 46.59 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016/51.48, allocations: 167.1 MB / 11.4 GB, free: 45.58 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009802/51.49, allocations: 1.286 MB / 11.4 GB, free: 45.57 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05713/51.55, allocations: 25.41 MB / 11.43 GB, free: 41.43 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01855/51.57, allocations: 0.8169 MB / 11.43 GB, free: 41.34 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003322/51.57, allocations: 0.7233 MB / 11.43 GB, free: 41.34 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/51.57, allocations: 12.94 kB / 11.43 GB, free: 41.34 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05324/51.62, allocations: 20.81 MB / 11.45 GB, free: 39.38 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/51.62, allocations: 44 kB / 11.45 GB, free: 39.34 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831/53.45, allocations: 167.2 MB / 11.61 GB, free: 125.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007543/53.46, allocations: 1.275 MB / 11.61 GB, free: 125.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07375/53.54, allocations: 28.26 MB / 11.64 GB, free: 123.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01896/53.55, allocations: 0.7841 MB / 11.64 GB, free: 123.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003325/53.56, allocations: 0.6857 MB / 11.64 GB, free: 123.1 MB / 1.135 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.pulsStart,stepPump.pulsStart,$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 (560): * Single equations (assignments): 548 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * 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: 2 {38 58,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.004355/53.56, allocations: 292 kB / 11.64 GB, free: 123 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004625/53.57, allocations: 1.128 MB / 11.64 GB, free: 122.8 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04898/53.62, allocations: 17.09 MB / 11.66 GB, free: 122.5 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/53.62, allocations: 51.91 kB / 11.66 GB, free: 122.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/53.62, allocations: 1.531 kB / 11.66 GB, free: 122.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02831/53.64, allocations: 12.39 MB / 11.67 GB, free: 122.1 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 postOpt removeSimpleEquations (simulation): time 0.1166/53.76, allocations: 39.17 MB / 11.71 GB, free: 116.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.684e-05/53.76, allocations: 2.25 kB / 11.71 GB, free: 116.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005163/53.77, allocations: 0.6918 MB / 11.71 GB, free: 116.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2797/54.05, allocations: 47.66 MB / 11.76 GB, free: 116 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001334/54.05, allocations: 65.94 kB / 11.76 GB, free: 116 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02816/54.08, allocations: 13.19 MB / 11.77 GB, free: 111.9 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/54.08, allocations: 2.188 kB / 11.77 GB, free: 111.9 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04591/54.12, allocations: 20.94 MB / 11.79 GB, free: 110.5 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009312/54.13, allocations: 2.483 MB / 11.79 GB, free: 109.8 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004449/54.14, allocations: 2.812 kB / 11.79 GB, free: 109.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01446/54.15, allocations: 0.6471 MB / 11.79 GB, free: 109.7 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001517/54.15, allocations: 291.4 kB / 11.79 GB, free: 109.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009854/54.15, allocations: 206 kB / 11.79 GB, free: 109.7 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.019/54.17, allocations: 8.289 MB / 11.8 GB, free: 109.4 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.238e-06/54.17, allocations: 0 / 11.8 GB, free: 109.4 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0467/54.22, allocations: 5.667 MB / 11.81 GB, free: 109.4 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (323): * Single equations (assignments): 303 * 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: 2 * 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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009027/54.23, allocations: 4.7 MB / 11.81 GB, free: 107.4 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.07064/54.3, allocations: 28.53 MB / 11.84 GB, free: 98.05 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/54.3, allocations: 8.062 kB / 11.84 GB, free: 98.04 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01725/54.32, allocations: 7.17 MB / 11.85 GB, free: 94.44 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03334/54.35, allocations: 6.131 MB / 11.85 GB, free: 90.99 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04255/54.39, allocations: 18.15 MB / 11.87 GB, free: 77.32 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0119/54.4, allocations: 6.714 MB / 11.88 GB, free: 73.21 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0335/54.44, allocations: 5.736 MB / 11.88 GB, free: 69.5 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002451/54.44, allocations: 0.6017 MB / 11.88 GB, free: 68.99 MB / 1.135 GB Notification: Performance of SimCode: time 1.867e-06/54.44, allocations: 0 / 11.88 GB, free: 68.99 MB / 1.135 GB Notification: Performance of Templates: time 2.513/56.95, allocations: 369.5 MB / 12.24 GB, free: 68.38 MB / 1.136 GB