Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004291/0.004295, allocations: 234.6 kB / 15.8 MB, free: 6.285 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.001156/0.001156, allocations: 179.2 kB / 16.69 MB, free: 5.449 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.991/3.991, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.981/3.981, allocations: 472.3 MB / 0.9023 GB, free: 18.8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005353/0.0005355, allocations: 12.69 kB / 1.008 GB, free: 13.44 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2555, allocations: 98.72 MB / 1.105 GB, free: 10.77 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.847/2.103, allocations: 416.9 MB / 1.512 GB, free: 63.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1598/2.262, allocations: 84.29 MB / 1.594 GB, free: 56.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02246/2.285, allocations: 430 kB / 1.594 GB, free: 56.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.02576/2.311, allocations: 5.15 MB / 1.599 GB, free: 54.82 MB / 0.8073 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.07143/2.382, allocations: 16.65 MB / 1.616 GB, free: 44.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.06425/2.446, allocations: 10.52 MB / 1.626 GB, free: 38.98 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.08543/2.532, allocations: 39.16 MB / 1.664 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03262/2.565, allocations: 8.816 MB / 1.673 GB, free: 13.98 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.043/2.608, allocations: 10.12 MB / 1.683 GB, free: 4.281 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02464/2.632, allocations: 8.705 MB / 1.691 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.005366/2.638, allocations: 456 kB / 1.692 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0236/2.661, allocations: 3.594 MB / 1.695 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.008682/2.67, allocations: 2.384 MB / 1.698 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.01111/2.681, allocations: 2.718 MB / 1.7 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0444/2.726, allocations: 16.46 MB / 1.716 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/2.726, allocations: 0 / 1.716 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.006e-06/2.726, allocations: 0 / 1.716 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007324/2.727, allocations: 0 / 1.716 GB, free: 3.551 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.04294/2.77, allocations: 11.93 MB / 1.728 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/2.77, allocations: 20.73 kB / 1.728 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02141/2.791, allocations: 2.701 MB / 1.731 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04097/2.832, allocations: 11.53 MB / 1.742 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005723/2.838, allocations: 1.085 MB / 1.743 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002952/2.841, allocations: 0.7376 MB / 1.744 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03579/2.877, allocations: 9.158 MB / 1.753 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000367/2.877, allocations: 19.81 kB / 1.753 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002338/2.88, allocations: 296 kB / 1.753 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003098/2.88, allocations: 208 kB / 1.753 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03389/2.914, allocations: 7.451 MB / 1.76 GB, free: 6.223 MB / 0.9011 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 1.212/4.125, allocations: 48.63 MB / 1.808 GB, free: 348 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02132/4.147, allocations: 4.883 MB / 1.813 GB, free: 347.9 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01521/4.162, allocations: 2.717 MB / 1.815 GB, free: 347.9 MB / 0.9324 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.02916/4.191, allocations: 10.78 MB / 1.826 GB, free: 341.4 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01018/4.202, allocations: 2.6 MB / 1.828 GB, free: 340.6 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006647/4.208, allocations: 0.5551 MB / 1.829 GB, free: 340.5 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=326): time 1.749e-05/4.208, allocations: 0 / 1.829 GB, free: 340.5 MB / 0.9324 GB Notification: Performance of matching and sorting (n=326): time 0.03402/4.242, allocations: 7.429 MB / 1.836 GB, free: 338.4 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/4.242, allocations: 84.97 kB / 1.836 GB, free: 338.3 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02916/4.272, allocations: 9.565 MB / 1.845 GB, free: 335 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.00122/4.273, allocations: 113.6 kB / 1.846 GB, free: 334.9 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.008488/4.281, allocations: 5.591 MB / 1.851 GB, free: 330.9 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.002236/4.284, allocations: 1.135 MB / 1.852 GB, free: 330 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005367/4.284, allocations: 99.16 kB / 1.852 GB, free: 329.9 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0003819/4.285, allocations: 499.7 kB / 1.853 GB, free: 329.6 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01062/4.295, allocations: 2.274 MB / 1.855 GB, free: 328.8 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01265/4.308, allocations: 4.335 MB / 1.859 GB, free: 325.5 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/4.32, allocations: 2.914 MB / 1.862 GB, free: 324.4 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.613e-05/4.32, allocations: 14.16 kB / 1.862 GB, free: 324.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.03082/4.351, allocations: 7.474 MB / 1.869 GB, free: 321.5 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.001176/4.352, allocations: 1.749 MB / 1.871 GB, free: 319.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/4.352, allocations: 50.28 kB / 1.871 GB, free: 319.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/4.353, allocations: 271.1 kB / 1.871 GB, free: 319.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/4.364, allocations: 1.296 MB / 1.873 GB, free: 319.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004553/4.369, allocations: 3.891 MB / 1.876 GB, free: 315.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01676/4.385, allocations: 0.9556 MB / 1.877 GB, free: 315.7 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/4.387, allocations: 267.9 kB / 1.878 GB, free: 315.7 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/4.387, allocations: 3.969 kB / 1.878 GB, free: 315.7 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02202/4.409, allocations: 6.367 MB / 1.884 GB, free: 313.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/4.409, allocations: 54.91 kB / 1.884 GB, free: 313.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008279/4.41, allocations: 266.1 kB / 1.884 GB, free: 313.3 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009344/4.419, allocations: 1.243 MB / 1.885 GB, free: 313.2 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/4.424, allocations: 3.886 MB / 1.889 GB, free: 309.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01558/4.439, allocations: 0.8953 MB / 1.89 GB, free: 309.8 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/4.441, allocations: 257.9 kB / 1.89 GB, free: 309.8 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (602): * Single equations (assignments): 592 * Array equations: 4 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008254/4.449, allocations: 2.56 MB / 1.893 GB, free: 308.3 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003548/4.453, allocations: 0.9676 MB / 1.894 GB, free: 307.8 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02535/4.478, allocations: 6.083 MB / 1.9 GB, free: 305.6 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0193/4.497, allocations: 4.52 MB / 1.904 GB, free: 303.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/4.497, allocations: 4 kB / 1.904 GB, free: 303.5 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007487/4.505, allocations: 1.758 MB / 1.906 GB, free: 302.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003585/4.508, allocations: 67.45 kB / 1.906 GB, free: 302.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01544/4.524, allocations: 0.8781 MB / 1.907 GB, free: 301.7 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009525/4.525, allocations: 218.8 kB / 1.907 GB, free: 301.6 MB / 0.9324 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02622/4.551, allocations: 5.583 MB / 1.912 GB, free: 297.3 MB / 0.9324 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03602/4.587, allocations: 8.653 MB / 1.921 GB, free: 288.6 MB / 0.9324 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01438/4.602, allocations: 2.384 MB / 1.923 GB, free: 286.2 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.02486/4.627, allocations: 6.403 MB / 1.929 GB, free: 279.9 MB / 0.9324 GB Notification: Performance of Backend: time 2.114e-06/4.627, allocations: 0 / 1.929 GB, free: 279.9 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.06221/4.689, allocations: 10.95 MB / 1.94 GB, free: 269.8 MB / 0.9324 GB Notification: Performance of SimCode: time 0.07851/4.768, allocations: 25.43 MB / 1.965 GB, free: 244.4 MB / 0.9324 GB Notification: Performance of Templates: time 0.4858/5.253, allocations: 204.4 MB / 2.165 GB, free: 42.08 MB / 0.9324 GB