Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example2.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.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0101/0.0101, allocations: 222.2 kB / 15.17 MB, free: 6 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.001096/0.001096, allocations: 181.8 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.299/3.299, allocations: 389.1 MB / 405.9 MB, free: 13.33 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.867/3.867, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004622, allocations: 16 kB / 1.008 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4768, allocations: 98.71 MB / 1.104 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03443/0.5113, allocations: 26.98 MB / 1.13 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.5337, allocations: 11.58 MB / 1.142 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.5349, allocations: 35.75 kB / 1.142 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.5368, allocations: 0.5087 MB / 1.142 GB, free: 3.559 MB / 0.5417 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.004447/0.5412, allocations: 1.43 MB / 1.144 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.008111/0.5494, allocations: 2.316 MB / 1.146 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00618/0.5556, allocations: 4.288 MB / 1.15 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.5573, allocations: 0.9843 MB / 1.151 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.5595, allocations: 1.163 MB / 1.152 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.561, allocations: 0.9956 MB / 1.153 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.5612, allocations: 56 kB / 1.153 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.5632, allocations: 0.6902 MB / 1.154 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004299/0.5637, allocations: 314.7 kB / 1.154 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.5641, allocations: 320.9 kB / 1.154 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.5666, allocations: 1.75 MB / 1.156 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.953e-06/0.5666, allocations: 3.938 kB / 1.156 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.842e-06/0.5666, allocations: 0 / 1.156 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.5667, allocations: 0 / 1.156 GB, free: 5.195 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003553/0.5702, allocations: 1.693 MB / 1.158 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5703, allocations: 12.03 kB / 1.158 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.5715, allocations: 257.9 kB / 1.158 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.5746, allocations: 1.281 MB / 1.159 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/0.5747, allocations: 62 kB / 1.159 GB, free: 1.777 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.5749, allocations: 88 kB / 1.159 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.5773, allocations: 1.027 MB / 1.16 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.5774, allocations: 0 / 1.16 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.5775, allocations: 32 kB / 1.161 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.5775, allocations: 20 kB / 1.161 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.5799, allocations: 0.7845 MB / 1.161 GB, free: 15.78 MB / 0.573 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.008749/0.5887, allocations: 5.125 MB / 1.166 GB, free: 10.29 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.5907, allocations: 0.6575 MB / 1.167 GB, free: 9.625 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.5917, allocations: 349.4 kB / 1.167 GB, free: 9.281 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003335/0.5951, allocations: 1.666 MB / 1.169 GB, free: 7.465 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.5961, allocations: 375 kB / 1.169 GB, free: 7.086 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005036/0.5967, allocations: 103.5 kB / 1.169 GB, free: 6.984 MB / 0.573 GB Notification: Performance of pre-optimization done (n=43): time 6.89e-06/0.5967, allocations: 3.984 kB / 1.169 GB, free: 6.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=43): time 0.005029/0.6017, allocations: 1.373 MB / 1.171 GB, free: 5.578 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.6018, allocations: 55.41 kB / 1.171 GB, free: 5.512 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.6041, allocations: 1.309 MB / 1.172 GB, free: 4.188 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.209e-05/0.6042, allocations: 45.69 kB / 1.172 GB, free: 4.137 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000783/0.605, allocations: 0.6489 MB / 1.173 GB, free: 3.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.6052, allocations: 157.8 kB / 1.173 GB, free: 3.324 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.6053, allocations: 12 kB / 1.173 GB, free: 3.312 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6055, allocations: 334 kB / 1.173 GB, free: 2.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008613/0.6064, allocations: 265.8 kB / 1.173 GB, free: 2.723 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.6076, allocations: 0.6246 MB / 1.174 GB, free: 1.941 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.6086, allocations: 382.2 kB / 1.174 GB, free: 1.562 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.6087, allocations: 4 kB / 1.174 GB, free: 1.559 MB / 0.573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003436/0.6121, allocations: 1.137 MB / 1.176 GB, free: 412 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.6124, allocations: 351.4 kB / 1.176 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.6125, allocations: 8 kB / 1.176 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.6135, allocations: 224.5 kB / 1.176 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.6143, allocations: 147.8 kB / 1.176 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.6156, allocations: 0.8682 MB / 1.177 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.6169, allocations: 104.4 kB / 1.177 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.6171, allocations: 43.97 kB / 1.177 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.6171, allocations: 4 kB / 1.177 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002272/0.6194, allocations: 0.8676 MB / 1.178 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.6194, allocations: 8 kB / 1.178 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/0.6199, allocations: 148.7 kB / 1.178 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.6206, allocations: 136.1 kB / 1.178 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.6242, allocations: 2.342 MB / 1.181 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.6253, allocations: 88.45 kB / 1.181 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.961e-05/0.6254, allocations: 39.98 kB / 1.181 GB, free: 10.75 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008906/0.6263, allocations: 480.7 kB / 1.181 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.6266, allocations: 126.4 kB / 1.181 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.6293, allocations: 0.935 MB / 1.182 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.6293, allocations: 4 kB / 1.182 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-06/0.6293, allocations: 0 / 1.182 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002242/0.6316, allocations: 0.9428 MB / 1.183 GB, free: 8.172 MB / 0.5886 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.004662/0.6363, allocations: 1.958 MB / 1.185 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.6363, allocations: 0 / 1.185 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.6369, allocations: 92 kB / 1.185 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/0.6374, allocations: 140.7 kB / 1.185 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.6374, allocations: 23.98 kB / 1.185 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.6385, allocations: 0.8214 MB / 1.186 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.46e-06/0.6385, allocations: 0 / 1.186 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.6419, allocations: 1.29 MB / 1.187 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/0.6425, allocations: 275.4 kB / 1.188 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.6428, allocations: 12 kB / 1.188 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/0.6437, allocations: 87.83 kB / 1.188 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.6439, allocations: 36.38 kB / 1.188 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.644, allocations: 19.98 kB / 1.188 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001695/0.6457, allocations: 0.9051 MB / 1.189 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.48e-07/0.6457, allocations: 0 / 1.189 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002334/0.648, allocations: 0.6746 MB / 1.189 GB, free: 1.695 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009226/0.649, allocations: 349.7 kB / 1.19 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003955/0.6529, allocations: 1.429 MB / 1.191 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.423e-06/0.653, allocations: 4 kB / 1.191 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.6541, allocations: 350.5 kB / 1.191 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.6572, allocations: 0.5832 MB / 1.192 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/0.6624, allocations: 2.71 MB / 1.195 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.6637, allocations: 1.294 MB / 1.196 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001538/0.6652, allocations: 318.5 kB / 1.196 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.6656, allocations: 103.4 kB / 1.196 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of SimCode: time 1.928e-06/0.6656, allocations: 0 / 1.196 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.06003/0.7256, allocations: 25.21 MB / 1.221 GB, free: 1.637 MB / 0.6198 GB