Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0109/0.01091, allocations: 222.3 kB / 15.17 MB, free: 5.938 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.001166/0.001166, allocations: 176.1 kB / 16.06 MB, free: 5.836 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.463/3.463, allocations: 389.1 MB / 405.9 MB, free: 13.36 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.052/4.052, allocations: 472.3 MB / 0.9018 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005079, allocations: 19.98 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.5561, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7886/1.345, allocations: 274.5 MB / 1.372 GB, free: 66.74 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.06848/1.413, allocations: 45.96 MB / 1.417 GB, free: 66.47 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01031/1.424, allocations: 260.3 kB / 1.417 GB, free: 66.47 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/1.434, allocations: 2.736 MB / 1.42 GB, free: 66.46 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. [/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.03298/1.467, allocations: 9.403 MB / 1.429 GB, free: 66.36 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01998/1.487, allocations: 5.506 MB / 1.434 GB, free: 66.27 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02957/1.517, allocations: 20.97 MB / 1.455 GB, free: 61.54 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009011/1.526, allocations: 4.241 MB / 1.459 GB, free: 60.03 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01494/1.541, allocations: 5.674 MB / 1.465 GB, free: 57.82 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009848/1.551, allocations: 4.6 MB / 1.469 GB, free: 56.02 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001561/1.552, allocations: 227.2 kB / 1.469 GB, free: 56.02 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01224/1.565, allocations: 2.462 MB / 1.472 GB, free: 55.43 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002247/1.567, allocations: 1.033 MB / 1.473 GB, free: 54.95 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.003219/1.57, allocations: 1.365 MB / 1.474 GB, free: 54.7 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/1.582, allocations: 7.294 MB / 1.481 GB, free: 50.98 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.079e-06/1.582, allocations: 0 / 1.481 GB, free: 50.98 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.719e-06/1.582, allocations: 4 kB / 1.481 GB, free: 50.98 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001366/1.582, allocations: 0 / 1.481 GB, free: 50.98 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01061/1.593, allocations: 6.227 MB / 1.487 GB, free: 46.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/1.593, allocations: 10.11 kB / 1.487 GB, free: 46.15 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/1.595, allocations: 0.7797 MB / 1.488 GB, free: 45.37 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.606, allocations: 4.974 MB / 1.493 GB, free: 41.84 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/1.606, allocations: 322.5 kB / 1.493 GB, free: 41.66 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007467/1.607, allocations: 442.9 kB / 1.494 GB, free: 41.36 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008132/1.615, allocations: 4.297 MB / 1.498 GB, free: 38.13 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/1.616, allocations: 11.88 kB / 1.498 GB, free: 38.12 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004182/1.616, allocations: 176.7 kB / 1.498 GB, free: 38.08 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/1.616, allocations: 119.3 kB / 1.498 GB, free: 37.97 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006289/1.622, allocations: 2.938 MB / 1.501 GB, free: 36.03 MB / 0.7605 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.0253/1.648, allocations: 24.93 MB / 1.525 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/1.651, allocations: 2.733 MB / 1.528 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/1.653, allocations: 0.9788 MB / 1.529 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002371/1.655, allocations: 3.918 MB / 1.533 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/1.655, allocations: 63.75 kB / 1.533 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=215): time 7.521e-06/1.655, allocations: 7.141 kB / 1.533 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of matching and sorting (n=215): time 0.01165/1.667, allocations: 3.994 MB / 1.537 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/1.667, allocations: 80.08 kB / 1.537 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007613/1.675, allocations: 4.16 MB / 1.541 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004228/1.675, allocations: 77.7 kB / 1.541 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002983/1.678, allocations: 2.822 MB / 1.544 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.679, allocations: 0.754 MB / 1.544 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.679, allocations: 60 kB / 1.545 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002809/1.68, allocations: 411.9 kB / 1.545 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/1.682, allocations: 0.7826 MB / 1.546 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/1.685, allocations: 1.797 MB / 1.547 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/1.687, allocations: 1.076 MB / 1.549 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/1.687, allocations: 4 kB / 1.549 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009711/1.697, allocations: 3.503 MB / 1.552 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006268/1.697, allocations: 0.7446 MB / 1.553 GB, free: 248 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.524e-05/1.697, allocations: 20 kB / 1.553 GB, free: 228 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/1.701, allocations: 0.5647 MB / 1.553 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/1.703, allocations: 0.5499 MB / 1.554 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/1.706, allocations: 2.695 MB / 1.556 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005591/1.712, allocations: 0.6102 MB / 1.557 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/1.712, allocations: 140 kB / 1.557 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/1.712, allocations: 4 kB / 1.557 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006798/1.719, allocations: 2.794 MB / 1.56 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/1.719, allocations: 24.72 kB / 1.56 GB, free: 8.703 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/1.72, allocations: 377.2 kB / 1.56 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/1.722, allocations: 0.5538 MB / 1.561 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.734, allocations: 7.696 MB / 1.568 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005387/1.739, allocations: 0.5678 MB / 1.569 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004223/1.74, allocations: 134.7 kB / 1.569 GB, free: 14.82 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002839/1.743, allocations: 0.9936 MB / 1.57 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/1.744, allocations: 0.5018 MB / 1.57 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008425/1.752, allocations: 3.569 MB / 1.574 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/1.752, allocations: 35.97 kB / 1.574 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.288e-06/1.752, allocations: 0 / 1.574 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005449/1.758, allocations: 2.416 MB / 1.576 GB, free: 7.336 MB / 0.8073 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.01805/1.776, allocations: 8.064 MB / 1.584 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.776, allocations: 0.6094 kB / 1.584 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/1.778, allocations: 359.5 kB / 1.585 GB, free: 14.72 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/1.779, allocations: 300.8 kB / 1.585 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/1.779, allocations: 75.89 kB / 1.585 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/1.782, allocations: 2.488 MB / 1.587 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.931e-06/1.782, allocations: 4.062 kB / 1.587 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009584/1.791, allocations: 4.28 MB / 1.592 GB, free: 7.426 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002883/1.794, allocations: 0.9272 MB / 1.592 GB, free: 6.473 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007496/1.795, allocations: 47.98 kB / 1.592 GB, free: 6.426 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003732/1.799, allocations: 425.5 kB / 1.593 GB, free: 6.02 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/1.799, allocations: 153.2 kB / 1.593 GB, free: 5.871 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/1.799, allocations: 99.92 kB / 1.593 GB, free: 5.773 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005699/1.805, allocations: 2.73 MB / 1.596 GB, free: 3.07 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.84e-07/1.805, allocations: 2.516 kB / 1.596 GB, free: 3.07 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01234/1.817, allocations: 3.249 MB / 1.599 GB, free: 15.81 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (217): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003119/1.82, allocations: 1.422 MB / 1.6 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.009628/1.83, allocations: 4.385 MB / 1.605 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.541e-06/1.83, allocations: 4.875 kB / 1.605 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002797/1.833, allocations: 1.221 MB / 1.606 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01458/1.848, allocations: 2.674 MB / 1.608 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/1.868, allocations: 10.99 MB / 1.619 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003659/1.872, allocations: 2.979 MB / 1.622 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.006225/1.878, allocations: 1.144 MB / 1.623 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.879, allocations: 411.2 kB / 1.624 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of SimCode: time 1.622e-06/1.879, allocations: 0 / 1.624 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of Templates: time 0.6746/2.554, allocations: 99.86 MB / 1.721 GB, free: 381.2 MB / 0.9323 GB