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.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadModel(Buildings): time 3.886/3.886, allocations: 433.4 MB / 440.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.06e-05/2.074e-05, allocations: 4 kB / 0.5325 GB, free: 1.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4987, allocations: 98.71 MB / 0.6289 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.509, allocations: 447.6 MB / 1.066 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.509, allocations: 97.22 kB / 1.066 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 47.63/49.14, allocations: 9.901 GB / 10.97 GB, free: 74.39 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.32e-06/49.14, allocations: 0 / 10.97 GB, free: 74.39 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0028/49.14, allocations: 381.4 kB / 10.97 GB, free: 74.32 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.04461/49.19, allocations: 11.99 MB / 10.98 GB, free: 69.01 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/49.19, allocations: 6.438 kB / 10.98 GB, free: 69.01 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/49.2, allocations: 2.331 MB / 10.98 GB, free: 68.16 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07502/49.28, allocations: 20.19 MB / 11 GB, free: 65.89 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004956/49.28, allocations: 224.1 kB / 11 GB, free: 65.89 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003844/49.28, allocations: 486.4 kB / 11 GB, free: 65.89 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03865/49.32, allocations: 18.22 MB / 11.02 GB, free: 65.86 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03593/49.36, allocations: 12.85 MB / 11.03 GB, free: 65.11 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003645/49.36, allocations: 19.59 kB / 11.03 GB, free: 65.1 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002979/49.36, allocations: 9.375 kB / 11.03 GB, free: 65.1 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001985/49.36, allocations: 182.5 kB / 11.03 GB, free: 65.1 MB / 1.104 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.1408/49.5, allocations: 72.8 MB / 11.1 GB, free: 31.1 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/49.52, allocations: 10.21 MB / 11.11 GB, free: 30.95 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01488/49.53, allocations: 8.783 MB / 11.12 GB, free: 30.86 MB / 1.104 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.07248/49.61, allocations: 30 MB / 11.15 GB, free: 22 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01529/49.62, allocations: 7.945 MB / 11.16 GB, free: 21.89 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05815/49.68, allocations: 14.84 MB / 11.17 GB, free: 20.61 MB / 1.104 GB Notification: Performance of pre-optimization done (n=426): time 3.788e-05/49.68, allocations: 0 / 11.17 GB, free: 20.61 MB / 1.104 GB Notification: Performance of matching and sorting (n=428): time 0.1113/49.79, allocations: 36.82 MB / 11.21 GB, free: 2.648 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/49.79, allocations: 98.61 kB / 11.21 GB, free: 2.543 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05368/49.85, allocations: 12.95 MB / 11.22 GB, free: 11.23 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.002795/49.85, allocations: 41.7 kB / 11.22 GB, free: 11.19 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0115/49.86, allocations: 6.668 MB / 11.23 GB, free: 5.07 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.003994/49.86, allocations: 1.408 MB / 11.23 GB, free: 3.77 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002472/49.87, allocations: 0 / 11.23 GB, free: 3.77 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0008215/49.87, allocations: 0.5566 MB / 11.23 GB, free: 3.281 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.9057/50.77, allocations: 6.907 MB / 11.24 GB, free: 96.25 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01738/50.79, allocations: 9.515 MB / 11.25 GB, free: 93.17 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01947/50.81, allocations: 8.027 MB / 11.25 GB, free: 93.05 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.89e-05/50.81, allocations: 16.31 kB / 11.25 GB, free: 93.05 MB / 1.12 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.06266/50.87, allocations: 22.78 MB / 11.28 GB, free: 92.79 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.006581/50.88, allocations: 34.87 MB / 11.31 GB, free: 56.78 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002173/50.88, allocations: 60.64 kB / 11.31 GB, free: 56.78 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9538/51.83, allocations: 143.5 MB / 11.45 GB, free: 56.06 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/51.84, allocations: 1.481 MB / 11.45 GB, free: 56.06 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05144/51.9, allocations: 23.23 MB / 11.47 GB, free: 52.05 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02041/51.92, allocations: 0.883 MB / 11.48 GB, free: 52 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003519/51.92, allocations: 0.7392 MB / 11.48 GB, free: 52 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/51.92, allocations: 4.547 kB / 11.48 GB, free: 52 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7058/52.63, allocations: 102.5 MB / 11.58 GB, free: 24.09 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003454/52.63, allocations: 52.94 kB / 11.58 GB, free: 24.04 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864/54.49, allocations: 143.6 MB / 11.72 GB, free: 153.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008796/54.5, allocations: 1.47 MB / 11.72 GB, free: 153.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06257/54.56, allocations: 25.96 MB / 11.74 GB, free: 150.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01879/54.58, allocations: 0.8506 MB / 11.74 GB, free: 150.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003348/54.58, allocations: 0.6991 MB / 11.75 GB, free: 150.6 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.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: 237 * 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 (661): * Single equations (assignments): 649 * 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 {31 39,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.004285/54.59, allocations: 300.3 kB / 11.75 GB, free: 150.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004439/54.59, allocations: 1.212 MB / 11.75 GB, free: 150.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05185/54.65, allocations: 16.83 MB / 11.76 GB, free: 150.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001236/54.65, allocations: 54.53 kB / 11.76 GB, free: 150.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/54.65, allocations: 1.469 kB / 11.76 GB, free: 150.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03001/54.68, allocations: 12.09 MB / 11.78 GB, free: 149.7 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.07789/54.75, allocations: 33.24 MB / 11.81 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.728e-05/54.75, allocations: 5.359 kB / 11.81 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006133/54.76, allocations: 0.793 MB / 11.81 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2637/55.02, allocations: 40.71 MB / 11.85 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001434/55.02, allocations: 71.52 kB / 11.85 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02446/55.05, allocations: 11.87 MB / 11.86 GB, free: 139.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.643e-06/55.05, allocations: 3.188 kB / 11.86 GB, free: 139.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0462/55.1, allocations: 20.89 MB / 11.88 GB, free: 138.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0104/55.11, allocations: 2.626 MB / 11.88 GB, free: 138 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005234/55.11, allocations: 5.75 kB / 11.88 GB, free: 138 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01541/55.13, allocations: 0.6947 MB / 11.88 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001682/55.13, allocations: 314.7 kB / 11.88 GB, free: 137.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001335/55.13, allocations: 204.4 kB / 11.88 GB, free: 137.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02167/55.15, allocations: 8.81 MB / 11.89 GB, free: 137.6 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.148e-06/55.15, allocations: 1.219 kB / 11.89 GB, free: 137.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05391/55.21, allocations: 6.254 MB / 11.9 GB, free: 137.6 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (372): * Single equations (assignments): 352 * 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 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01136/55.22, allocations: 5.236 MB / 11.9 GB, free: 135.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.07044/55.29, allocations: 27.99 MB / 11.93 GB, free: 134.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/55.29, allocations: 8.031 kB / 11.93 GB, free: 134.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01705/55.3, allocations: 6.931 MB / 11.94 GB, free: 134.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04003/55.34, allocations: 6.638 MB / 11.94 GB, free: 134.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05039/55.39, allocations: 19.79 MB / 11.96 GB, free: 123.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01476/55.41, allocations: 7.206 MB / 11.97 GB, free: 119.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0361/55.45, allocations: 6.139 MB / 11.98 GB, free: 115.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002926/55.45, allocations: 0.6761 MB / 11.98 GB, free: 114.6 MB / 1.182 GB Notification: Performance of SimCode: time 2.255e-06/55.45, allocations: 0 / 11.98 GB, free: 114.6 MB / 1.182 GB Notification: Performance of Templates: time 2.6/58.05, allocations: 380.7 MB / 12.35 GB, free: 129.2 MB / 1.182 GB