Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.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.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01026/0.01026, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001097/0.001097, allocations: 176 kB / 16.06 MB, free: 5.832 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.491/3.491, 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 4.155/4.155, allocations: 472.3 MB / 0.9018 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004844, allocations: 19.98 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5607/0.5612, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04592/0.6072, allocations: 41.92 MB / 1.145 GB, free: 183.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.6239, allocations: 10.45 MB / 1.155 GB, free: 176 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.6262, allocations: 49.44 kB / 1.155 GB, free: 175.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.6283, allocations: 0.5763 MB / 1.156 GB, free: 175.6 MB / 0.7292 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. [/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.007844/0.6362, allocations: 2.035 MB / 1.158 GB, free: 174.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005594/0.6418, allocations: 1.385 MB / 1.159 GB, free: 173.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02436/0.6661, allocations: 24.54 MB / 1.183 GB, free: 157.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008368/0.6746, allocations: 6.322 MB / 1.189 GB, free: 151.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009072/0.6837, allocations: 5.197 MB / 1.194 GB, free: 146.2 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008143/0.6919, allocations: 5.294 MB / 1.199 GB, free: 140.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.693, allocations: 288 kB / 1.2 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005107/0.6981, allocations: 0.9045 MB / 1.201 GB, free: 139.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.6999, allocations: 1.295 MB / 1.202 GB, free: 138.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002633/0.7026, allocations: 1.564 MB / 1.203 GB, free: 136.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.7134, allocations: 9.909 MB / 1.213 GB, free: 126.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.983e-06/0.7134, allocations: 0 / 1.213 GB, free: 126.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.673e-06/0.7135, allocations: 0 / 1.213 GB, free: 126.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002209/0.7137, allocations: 0 / 1.213 GB, free: 126.9 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01353/0.7272, allocations: 6.622 MB / 1.22 GB, free: 120.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7273, allocations: 12.03 kB / 1.22 GB, free: 120.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.731, allocations: 0.8424 MB / 1.22 GB, free: 119.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01516/0.7462, allocations: 7.37 MB / 1.228 GB, free: 111.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/0.7465, allocations: 423.3 kB / 1.228 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.7476, allocations: 0.5076 MB / 1.229 GB, free: 110.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.7626, allocations: 7.457 MB / 1.236 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.7628, allocations: 23.92 kB / 1.236 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006617/0.7634, allocations: 219.9 kB / 1.236 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.7636, allocations: 164 kB / 1.236 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.7765, allocations: 6.04 MB / 1.242 GB, free: 96.73 MB / 0.7292 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.03876/0.8153, allocations: 29.03 MB / 1.27 GB, free: 66.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00557/0.8209, allocations: 3.38 MB / 1.274 GB, free: 63.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/0.8242, allocations: 1.937 MB / 1.276 GB, free: 61.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009787/0.8252, allocations: 0.9982 MB / 1.277 GB, free: 60.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.8253, allocations: 72.5 kB / 1.277 GB, free: 59.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=251): time 6.581e-06/0.8253, allocations: 4 kB / 1.277 GB, free: 59.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=251): time 0.009339/0.8347, allocations: 4.648 MB / 1.281 GB, free: 55.28 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.8348, allocations: 77.41 kB / 1.281 GB, free: 55.19 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009806/0.8446, allocations: 5.975 MB / 1.287 GB, free: 49.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004773/0.8451, allocations: 81.7 kB / 1.287 GB, free: 49.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/0.8477, allocations: 2.952 MB / 1.29 GB, free: 46.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/0.8489, allocations: 0.8974 MB / 1.291 GB, free: 45.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.8491, allocations: 64 kB / 1.291 GB, free: 45.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.8493, allocations: 449.2 kB / 1.291 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002947/0.8523, allocations: 1.619 MB / 1.293 GB, free: 43.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003662/0.8559, allocations: 2.67 MB / 1.296 GB, free: 40.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.8599, allocations: 2.207 MB / 1.298 GB, free: 37.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.267e-05/0.86, allocations: 11.94 kB / 1.298 GB, free: 37.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009604/0.8696, allocations: 4.931 MB / 1.303 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004597/0.8701, allocations: 1.039 MB / 1.304 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/0.8702, allocations: 28 kB / 1.304 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.355e-05/0.8702, allocations: 56 kB / 1.304 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/0.8741, allocations: 0.8058 MB / 1.305 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006475/0.8748, allocations: 1.254 MB / 1.306 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00599/0.8808, allocations: 0.6158 MB / 1.306 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005053/0.8813, allocations: 159.5 kB / 1.306 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.8813, allocations: 4 kB / 1.306 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007849/0.8892, allocations: 4.424 MB / 1.311 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.002e-05/0.8893, allocations: 32 kB / 1.311 GB, free: 23.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.196e-05/0.8893, allocations: 56.12 kB / 1.311 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.8925, allocations: 0.7801 MB / 1.312 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.065e-05/0.8926, allocations: 71.72 kB / 1.312 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005093/0.8977, allocations: 0.5583 MB / 1.312 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/0.898, allocations: 160 kB / 1.312 GB, free: 22.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004058/0.9021, allocations: 2.493 MB / 1.315 GB, free: 19.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/0.9035, allocations: 0.5482 MB / 1.315 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007072/0.9106, allocations: 3.862 MB / 1.319 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.9106, allocations: 31.98 kB / 1.319 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.9106, allocations: 0 / 1.319 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005036/0.9157, allocations: 2.969 MB / 1.322 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.934, allocations: 9.507 MB / 1.331 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.934, allocations: 0 / 1.331 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/0.9371, allocations: 0.5891 MB / 1.332 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.9372, allocations: 8 kB / 1.332 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/0.9374, allocations: 79.91 kB / 1.332 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004833/0.9379, allocations: 1.188 MB / 1.333 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.78e-06/0.9379, allocations: 0 / 1.333 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.9492, allocations: 5.585 MB / 1.339 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00397/0.9532, allocations: 1.247 MB / 1.34 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/0.9545, allocations: 59.98 kB / 1.34 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004956/0.9595, allocations: 387.2 kB / 1.34 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004439/0.96, allocations: 145.8 kB / 1.34 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003713/0.9604, allocations: 115.8 kB / 1.341 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.008979/0.9694, allocations: 4.219 MB / 1.345 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.17e-07/0.9694, allocations: 0 / 1.345 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01094/0.9804, allocations: 3.218 MB / 1.348 GB, free: 1.641 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/0.9817, allocations: 452.5 kB / 1.348 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01313/0.9948, allocations: 5.995 MB / 1.354 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.573e-06/0.9949, allocations: 0 / 1.354 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003369/0.9982, allocations: 1.582 MB / 1.356 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0205/1.019, allocations: 3.931 MB / 1.359 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4684/1.487, allocations: 15.71 MB / 1.375 GB, free: 209.4 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005963/1.493, allocations: 4.628 MB / 1.379 GB, free: 208.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01223/1.505, allocations: 2.812 MB / 1.382 GB, free: 208.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.507, allocations: 467 kB / 1.383 GB, free: 208.3 MB / 0.7605 GB Notification: Performance of SimCode: time 1.458e-06/1.507, allocations: 0 / 1.383 GB, free: 208.3 MB / 0.7605 GB Notification: Performance of Templates: time 0.2405/1.748, allocations: 122.3 MB / 1.502 GB, free: 117.2 MB / 0.7605 GB