Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004205/0.004208, allocations: 231.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001175/0.001174, allocations: 172.1 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.449/3.449, allocations: 389.1 MB / 406.5 MB, free: 6.801 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.349/4.349, allocations: 472.3 MB / 0.9024 GB, free: 183.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004809, allocations: 12 kB / 1.008 GB, free: 81.18 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6755/0.676, allocations: 98.69 MB / 1.105 GB, free: 34.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.903, allocations: 448.3 MB / 1.542 GB, free: 64.3 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/1.903, allocations: 104 kB / 1.543 GB, free: 64.25 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 53.74/55.65, allocations: 9.907 GB / 11.45 GB, free: 20.18 MB / 1.12 GB Notification: Performance of FrontEnd: time 3.406e-06/55.65, allocations: 0 / 11.45 GB, free: 20.18 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.0038/55.65, allocations: 379.6 kB / 11.45 GB, free: 19.81 MB / 1.12 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.09896/55.75, allocations: 18.59 MB / 11.47 GB, free: 1.078 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/55.75, allocations: 8.031 kB / 11.47 GB, free: 1.07 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.102/56.85, allocations: 2.325 MB / 11.47 GB, free: 70.07 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09942/56.95, allocations: 19.99 MB / 11.49 GB, free: 68.95 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/56.95, allocations: 0.5963 MB / 11.49 GB, free: 68.94 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005468/56.96, allocations: 0.7963 MB / 11.49 GB, free: 68.93 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05514/57.01, allocations: 14.15 MB / 11.5 GB, free: 68.15 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005464/57.01, allocations: 12.39 kB / 11.5 GB, free: 68.15 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004374/57.02, allocations: 291.5 kB / 11.51 GB, free: 68.15 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003871/57.02, allocations: 183.1 kB / 11.51 GB, free: 68.15 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05388/57.07, allocations: 18.34 MB / 11.52 GB, free: 68.09 MB / 1.12 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.1838/57.26, allocations: 73.68 MB / 11.6 GB, free: 34.69 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02507/57.28, allocations: 9.718 MB / 11.6 GB, free: 34.53 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02105/57.3, allocations: 8.632 MB / 11.61 GB, free: 34.47 MB / 1.12 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.09646/57.4, allocations: 29.97 MB / 11.64 GB, free: 25.96 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02143/57.42, allocations: 8.27 MB / 11.65 GB, free: 25.84 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08128/57.5, allocations: 14.96 MB / 11.67 GB, free: 25.73 MB / 1.12 GB Notification: Performance of pre-optimization done (n=426): time 3.902e-05/57.5, allocations: 0 / 11.67 GB, free: 25.73 MB / 1.12 GB Notification: Performance of matching and sorting (n=612): time 0.811/58.31, allocations: 113.7 MB / 11.78 GB, free: 17.69 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/58.31, allocations: 112.1 kB / 11.78 GB, free: 17.62 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04087/58.35, allocations: 13.97 MB / 11.79 GB, free: 16.82 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.004244/58.36, allocations: 193.3 kB / 11.79 GB, free: 16.79 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01181/58.37, allocations: 6.674 MB / 11.8 GB, free: 15.27 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.005346/58.37, allocations: 2.067 MB / 11.8 GB, free: 13.94 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003794/58.38, allocations: 155.9 kB / 11.8 GB, free: 13.94 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0007905/58.38, allocations: 0.6186 MB / 11.8 GB, free: 13.62 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02218/58.4, allocations: 7.958 MB / 11.81 GB, free: 11.85 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02561/58.43, allocations: 10.78 MB / 11.82 GB, free: 5.285 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02505/58.45, allocations: 9.042 MB / 11.83 GB, free: 1.324 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.706e-05/58.45, allocations: 15.34 kB / 11.83 GB, free: 1.324 MB / 1.12 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.104/58.56, allocations: 27.54 MB / 11.85 GB, free: 8.148 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001646/58.56, allocations: 1.74 MB / 11.86 GB, free: 5.793 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/58.56, allocations: 55.12 kB / 11.86 GB, free: 5.793 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604/61.16, allocations: 152.7 MB / 12 GB, free: 78.79 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01891/61.18, allocations: 1.786 MB / 12.01 GB, free: 78.79 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07719/61.26, allocations: 25.25 MB / 12.03 GB, free: 73.73 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03088/61.29, allocations: 1.116 MB / 12.03 GB, free: 73.73 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005098/61.3, allocations: 0.8159 MB / 12.03 GB, free: 73.73 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/61.3, allocations: 1.375 kB / 12.03 GB, free: 73.73 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09008/61.39, allocations: 25.88 MB / 12.06 GB, free: 73.41 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002304/61.39, allocations: 54.64 kB / 12.06 GB, free: 73.41 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37/62.76, allocations: 147.7 MB / 12.2 GB, free: 42.96 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01555/62.77, allocations: 1.766 MB / 12.2 GB, free: 41.33 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0949/62.87, allocations: 29.61 MB / 12.23 GB, free: 19.25 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02979/62.9, allocations: 1.087 MB / 12.23 GB, free: 18.36 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004562/62.9, allocations: 0.7707 MB / 12.23 GB, free: 17.66 MB / 1.135 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 747 * 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 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01535/62.92, allocations: 3.332 MB / 12.24 GB, free: 15.66 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007006/62.92, allocations: 1.283 MB / 12.24 GB, free: 15.07 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1406/63.06, allocations: 27.46 MB / 12.27 GB, free: 12.61 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001953/63.06, allocations: 74.53 kB / 12.27 GB, free: 12.54 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/63.06, allocations: 0 / 12.27 GB, free: 12.54 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.116/63.18, allocations: 21.95 MB / 12.29 GB, free: 13.84 MB / 1.167 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 1.348/64.53, allocations: 49.81 MB / 12.34 GB, free: 118.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001223/64.53, allocations: 7.656 kB / 12.34 GB, free: 118.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01098/64.54, allocations: 1.128 MB / 12.34 GB, free: 118.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3607/64.9, allocations: 43 MB / 12.38 GB, free: 118.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002231/64.9, allocations: 196.9 kB / 12.38 GB, free: 118.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03741/64.94, allocations: 14.35 MB / 12.39 GB, free: 113.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/64.94, allocations: 8.906 kB / 12.39 GB, free: 113.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3425/65.28, allocations: 52.47 MB / 12.44 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01412/65.3, allocations: 2.971 MB / 12.45 GB, free: 112.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007375/65.3, allocations: 137.1 kB / 12.45 GB, free: 112.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02266/65.33, allocations: 0.8838 MB / 12.45 GB, free: 112.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002927/65.33, allocations: 471.7 kB / 12.45 GB, free: 112.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002136/65.33, allocations: 293.8 kB / 12.45 GB, free: 112.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0272/65.36, allocations: 9.48 MB / 12.46 GB, free: 112.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 9.51e-07/65.36, allocations: 0 / 12.46 GB, free: 112.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.06901/65.43, allocations: 7.054 MB / 12.47 GB, free: 112.1 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 514 * 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: 4 * 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: 4 {9 78,30 38,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01384/65.44, allocations: 5.413 MB / 12.47 GB, free: 110.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1417/65.58, allocations: 33.02 MB / 12.5 GB, free: 109.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-05/65.58, allocations: 3.469 kB / 12.5 GB, free: 109.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.03184/65.62, allocations: 9.186 MB / 12.51 GB, free: 109.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06507/65.68, allocations: 6.949 MB / 12.52 GB, free: 109.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07925/65.76, allocations: 31.41 MB / 12.55 GB, free: 97.84 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01629/65.78, allocations: 7.583 MB / 12.56 GB, free: 96.85 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.03095/65.81, allocations: 3.988 MB / 12.56 GB, free: 96.73 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007555/65.82, allocations: 1.072 MB / 12.56 GB, free: 96.73 MB / 1.182 GB Notification: Performance of SimCode: time 3.085e-06/65.82, allocations: 0 / 12.56 GB, free: 96.73 MB / 1.182 GB Notification: Performance of Templates: time 2.115/67.93, allocations: 421.4 MB / 12.97 GB, free: 109.6 MB / 1.182 GB