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.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01055/0.01055, allocations: 221.2 kB / 15.17 MB, free: 5.996 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.001076/0.001076, allocations: 177.5 kB / 16.06 MB, free: 5.867 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.444/3.444, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.967/3.967, allocations: 472.3 MB / 0.9018 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004981, allocations: 15.94 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5417, allocations: 98.72 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.8504/1.392, allocations: 325.9 MB / 1.422 GB, free: 62.67 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1139/1.506, allocations: 71.88 MB / 1.492 GB, free: 54.87 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01454/1.521, allocations: 383.9 kB / 1.493 GB, free: 54.87 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01529/1.536, allocations: 4.45 MB / 1.497 GB, free: 51.95 MB / 0.7605 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.04571/1.582, allocations: 13.53 MB / 1.51 GB, free: 43.66 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.03622/1.618, allocations: 11.22 MB / 1.521 GB, free: 37.75 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.03499/1.653, allocations: 32.46 MB / 1.553 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01835/1.671, allocations: 12.42 MB / 1.565 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02263/1.694, allocations: 9.591 MB / 1.575 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01771/1.712, allocations: 9.007 MB / 1.583 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.002409/1.714, allocations: 0.4961 MB / 1.584 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/1.726, allocations: 2.81 MB / 1.587 GB, free: 7.629 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.004074/1.73, allocations: 2.878 MB / 1.589 GB, free: 4.824 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.005072/1.736, allocations: 2.623 MB / 1.592 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.02174/1.757, allocations: 14.26 MB / 1.606 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.757, allocations: 4 kB / 1.606 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.327e-06/1.757, allocations: 0 / 1.606 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002814/1.758, allocations: 0 / 1.606 GB, free: 4.535 MB / 0.8073 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.03212/1.79, allocations: 13.67 MB / 1.619 GB, free: 6.887 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.79, allocations: 12.03 kB / 1.619 GB, free: 6.875 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009302/1.799, allocations: 2.208 MB / 1.621 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02858/1.828, allocations: 11.15 MB / 1.632 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001823/1.83, allocations: 0.7712 MB / 1.633 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/1.831, allocations: 0.6797 MB / 1.634 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/1.851, allocations: 8.847 MB / 1.642 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/1.851, allocations: 27.8 kB / 1.642 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009017/1.852, allocations: 248 kB / 1.643 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/1.852, allocations: 152 kB / 1.643 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/1.87, allocations: 7.278 MB / 1.65 GB, free: 7.43 MB / 0.8542 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.08362/1.954, allocations: 50.36 MB / 1.699 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.8943/2.848, allocations: 5.448 MB / 1.704 GB, free: 345.6 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008361/2.857, allocations: 3.965 MB / 1.708 GB, free: 344.3 MB / 0.9012 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.03423/2.891, allocations: 13.36 MB / 1.721 GB, free: 338.1 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008001/2.899, allocations: 3.751 MB / 1.725 GB, free: 336.9 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008929/2.908, allocations: 1.867 MB / 1.727 GB, free: 336.8 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=319): time 9.562e-06/2.908, allocations: 0 / 1.727 GB, free: 336.8 MB / 0.9012 GB Notification: Performance of matching and sorting (n=505): time 0.1708/3.079, allocations: 47.36 MB / 1.773 GB, free: 317.2 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/3.079, allocations: 101 kB / 1.773 GB, free: 317.2 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02516/3.104, allocations: 12.43 MB / 1.785 GB, free: 306.8 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.001645/3.106, allocations: 166.6 kB / 1.785 GB, free: 306.6 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.007824/3.113, allocations: 6.177 MB / 1.791 GB, free: 300.6 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002512/3.116, allocations: 1.708 MB / 1.793 GB, free: 298.9 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/3.117, allocations: 140 kB / 1.793 GB, free: 298.8 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0004321/3.118, allocations: 0.589 MB / 1.794 GB, free: 298.2 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008695/3.126, allocations: 4.486 MB / 1.798 GB, free: 293.8 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/3.136, allocations: 7.142 MB / 1.805 GB, free: 285.6 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/3.146, allocations: 5.334 MB / 1.81 GB, free: 280.3 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.622e-05/3.146, allocations: 16 kB / 1.81 GB, free: 280.3 MB / 0.9012 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03746/3.184, allocations: 16 MB / 1.826 GB, free: 264.4 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000816/3.185, allocations: 1.928 MB / 1.828 GB, free: 261.6 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.94e-05/3.185, allocations: 67.94 kB / 1.828 GB, free: 261.6 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01809/3.203, allocations: 4.577 MB / 1.832 GB, free: 257 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/3.213, allocations: 1.781 MB / 1.834 GB, free: 255.2 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/3.227, allocations: 10.93 MB / 1.845 GB, free: 244.1 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01236/3.24, allocations: 0.9629 MB / 1.846 GB, free: 243.1 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/3.241, allocations: 459.8 kB / 1.846 GB, free: 242.7 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/3.241, allocations: 4 kB / 1.846 GB, free: 242.7 MB / 0.9012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03132/3.272, allocations: 14.88 MB / 1.861 GB, free: 227.7 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/3.272, allocations: 56 kB / 1.861 GB, free: 227.7 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0148/3.287, allocations: 4.48 MB / 1.865 GB, free: 223.2 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009179/3.296, allocations: 1.747 MB / 1.867 GB, free: 221.5 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0268/3.323, allocations: 15.06 MB / 1.882 GB, free: 206.1 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01322/3.337, allocations: 0.9554 MB / 1.883 GB, free: 205.1 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/3.338, allocations: 423.8 kB / 1.883 GB, free: 204.7 MB / 0.9012 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,stepPump.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,pumpHea.stage,$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 (744): * Single equations (assignments): 731 * 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: 2 * 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: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006496/3.344, allocations: 3.086 MB / 1.886 GB, free: 201.6 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002141/3.346, allocations: 1.184 MB / 1.887 GB, free: 200.4 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03015/3.376, allocations: 13.62 MB / 1.9 GB, free: 186.8 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/3.376, allocations: 56 kB / 1.9 GB, free: 186.7 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/3.376, allocations: 0 / 1.9 GB, free: 186.7 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02423/3.401, allocations: 11.08 MB / 1.911 GB, free: 175.6 MB / 0.9012 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.05079/3.452, allocations: 24.94 MB / 1.936 GB, free: 150.4 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/3.452, allocations: 4.812 kB / 1.936 GB, free: 150.4 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005908/3.458, allocations: 1.027 MB / 1.937 GB, free: 149.4 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01218/3.47, allocations: 3.213 MB / 1.94 GB, free: 146.2 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005656/3.47, allocations: 167.9 kB / 1.94 GB, free: 146.1 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/3.481, allocations: 9.538 MB / 1.949 GB, free: 136.3 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-06/3.481, allocations: 12.78 kB / 1.949 GB, free: 136.3 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03708/3.518, allocations: 18.47 MB / 1.967 GB, free: 117.6 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006235/3.524, allocations: 2.214 MB / 1.969 GB, free: 115.3 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001815/3.526, allocations: 104 kB / 1.97 GB, free: 115.2 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008899/3.535, allocations: 0.8723 MB / 1.97 GB, free: 114.4 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00087/3.536, allocations: 383.9 kB / 1.971 GB, free: 114 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006987/3.537, allocations: 247.9 kB / 1.971 GB, free: 113.7 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.01333/3.55, allocations: 8.396 MB / 1.979 GB, free: 105.4 MB / 0.9012 GB Notification: Performance of sort global known variables: time 9.65e-07/3.55, allocations: 0 / 1.979 GB, free: 105.4 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.02667/3.577, allocations: 5.33 MB / 1.984 GB, free: 100.1 MB / 0.9012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulsStart,pumpHea.stage,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): 419 * 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: 3 * 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: 3 {9 78,1 1,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.002639/3.579, allocations: 1.26 MB / 1.986 GB, free: 99.04 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.03817/3.617, allocations: 18.05 MB / 2.003 GB, free: 80.93 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/3.617, allocations: 4.438 kB / 2.003 GB, free: 80.92 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.01118/3.629, allocations: 5.064 MB / 2.008 GB, free: 75.85 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02846/3.657, allocations: 6.065 MB / 2.014 GB, free: 70.01 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04123/3.698, allocations: 27.21 MB / 2.041 GB, free: 42.71 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007564/3.706, allocations: 6.995 MB / 2.048 GB, free: 35.67 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.01828/3.724, allocations: 3.749 MB / 2.051 GB, free: 32.09 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003187/3.728, allocations: 0.8975 MB / 2.052 GB, free: 31.2 MB / 0.9012 GB Notification: Performance of SimCode: time 1.544e-06/3.728, allocations: 0 / 2.052 GB, free: 31.2 MB / 0.9012 GB Notification: Performance of Templates: time 0.971/4.699, allocations: 248.3 MB / 2.295 GB, free: 162.1 MB / 0.9012 GB