Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.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.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006048/0.006053, allocations: 237.7 kB / 15.81 MB, free: 6.281 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.001768/0.001768, allocations: 182.6 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 4.154/4.154, allocations: 389.1 MB / 406.5 MB, free: 11.83 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 4.334/4.334, allocations: 472.3 MB / 0.9024 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005186, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1952, allocations: 98.73 MB / 1.105 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters): time 2.408/2.603, allocations: 0.629 GB / 1.734 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 1.494/4.097, allocations: 158.7 MB / 1.889 GB, free: 23.29 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04333/4.14, allocations: 0.7466 MB / 1.889 GB, free: 23.29 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.04632/4.186, allocations: 9.477 MB / 1.899 GB, free: 23.26 MB / 0.948 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.1322/4.319, allocations: 30.14 MB / 1.928 GB, free: 22.61 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.08326/4.402, allocations: 18.8 MB / 1.946 GB, free: 19.93 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.1323/4.534, allocations: 73.4 MB / 2.018 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06145/4.596, allocations: 18.36 MB / 2.036 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06957/4.665, allocations: 19.13 MB / 2.055 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04672/4.712, allocations: 17.01 MB / 2.071 GB, free: 12.4 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.01087/4.723, allocations: 0.9648 MB / 2.072 GB, free: 11.43 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04125/4.764, allocations: 6.025 MB / 2.078 GB, free: 6.773 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.01552/4.78, allocations: 5.117 MB / 2.083 GB, free: 2.992 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.01787/4.798, allocations: 5.39 MB / 2.088 GB, free: 0 / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.07156/4.87, allocations: 33.89 MB / 2.121 GB, free: 3.582 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/4.87, allocations: 0 / 2.121 GB, free: 3.582 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.415e-06/4.87, allocations: 0 / 2.121 GB, free: 3.582 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001471/4.871, allocations: 4 kB / 2.121 GB, free: 3.578 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3531 * Number of variables: 3531 Notification: Performance of Generate backend data structure: time 0.08896/4.96, allocations: 23.92 MB / 2.145 GB, free: 13.53 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/4.96, allocations: 8.031 kB / 2.145 GB, free: 13.52 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04899/5.009, allocations: 5.811 MB / 2.151 GB, free: 7.711 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09216/5.101, allocations: 23.7 MB / 2.174 GB, free: 8.438 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01557/5.117, allocations: 2.66 MB / 2.176 GB, free: 6.258 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007093/5.124, allocations: 1.45 MB / 2.178 GB, free: 5.27 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08132/5.206, allocations: 19.67 MB / 2.197 GB, free: 2.414 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000615/5.206, allocations: 43.59 kB / 2.197 GB, free: 2.371 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005854/5.212, allocations: 0.5799 MB / 2.197 GB, free: 1.793 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005388/5.213, allocations: 379.9 kB / 2.198 GB, free: 1.422 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07826/5.291, allocations: 17.19 MB / 2.215 GB, free: 216 kB / 1.12 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 2.247/7.538, allocations: 101.6 MB / 2.314 GB, free: 121.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06123/7.599, allocations: 13.79 MB / 2.327 GB, free: 121.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02963/7.629, allocations: 6.787 MB / 2.334 GB, free: 121 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1007/7.729, allocations: 22.94 MB / 2.356 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03846/7.768, allocations: 6.328 MB / 2.362 GB, free: 114.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03004/7.798, allocations: 2.95 MB / 2.365 GB, free: 113.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=668): time 6.559e-05/7.798, allocations: 4 kB / 2.365 GB, free: 113.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=668): time 0.1167/7.915, allocations: 19.92 MB / 2.385 GB, free: 111.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/7.915, allocations: 119 kB / 2.385 GB, free: 111.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05226/7.967, allocations: 19.23 MB / 2.404 GB, free: 109.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002842/7.97, allocations: 212.9 kB / 2.404 GB, free: 109.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01604/7.986, allocations: 11.19 MB / 2.415 GB, free: 105.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004738/7.991, allocations: 2.296 MB / 2.417 GB, free: 104.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002329/7.994, allocations: 206.3 kB / 2.417 GB, free: 104.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0008974/7.994, allocations: 0.7173 MB / 2.418 GB, free: 103.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02499/8.019, allocations: 5.602 MB / 2.423 GB, free: 102.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02862/8.048, allocations: 9.675 MB / 2.433 GB, free: 96.58 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02733/8.076, allocations: 7.016 MB / 2.44 GB, free: 95.12 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/8.076, allocations: 29.69 kB / 2.44 GB, free: 95.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=1346) (initialization): time 0.07864/8.154, allocations: 18.15 MB / 2.458 GB, free: 86.64 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.002461/8.157, allocations: 3.703 MB / 2.461 GB, free: 81.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003211/8.157, allocations: 108 kB / 2.461 GB, free: 81.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009448/8.167, allocations: 1.547 MB / 2.463 GB, free: 80.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02217/8.189, allocations: 2.761 MB / 2.465 GB, free: 77.85 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02981/8.219, allocations: 20.03 MB / 2.485 GB, free: 59.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03258/8.251, allocations: 1.79 MB / 2.487 GB, free: 58.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003531/8.255, allocations: 0.5777 MB / 2.487 GB, free: 57.84 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/8.255, allocations: 4 kB / 2.487 GB, free: 57.84 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06585/8.321, allocations: 15.89 MB / 2.503 GB, free: 46.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004217/8.321, allocations: 104.2 kB / 2.503 GB, free: 46.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009464/8.331, allocations: 1.552 MB / 2.504 GB, free: 45.54 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01993/8.351, allocations: 2.598 MB / 2.507 GB, free: 43.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02974/8.381, allocations: 20.02 MB / 2.527 GB, free: 25.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02946/8.41, allocations: 1.691 MB / 2.528 GB, free: 23.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003208/8.413, allocations: 0.5438 MB / 2.529 GB, free: 23.29 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition12,$PRE.QCoo5.nextTimeEvent,$whenCondition11,$PRE.QHea7.nextTimeEvent,$whenCondition10,$PRE.QHea6.nextTimeEvent,$whenCondition9,$PRE.QHea5.nextTimeEvent,$whenCondition8,$PRE.QCoo4.nextTimeEvent,$whenCondition7,$PRE.QCoo3.nextTimeEvent,$whenCondition6,$PRE.QHea4.nextTimeEvent,$whenCondition5,$PRE.QHea3.nextTimeEvent,$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,QHea3.nextTimeEvent,$PRE.QHea3.nextTimeEventScaled,QHea3.nextTimeEventScaled,QHea4.nextTimeEvent,$PRE.QHea4.nextTimeEventScaled,QHea4.nextTimeEventScaled,QCoo3.nextTimeEvent,$PRE.QCoo3.nextTimeEventScaled,QCoo3.nextTimeEventScaled,QCoo4.nextTimeEvent,$PRE.QCoo4.nextTimeEventScaled,QCoo4.nextTimeEventScaled,QHea5.nextTimeEvent,$PRE.QHea5.nextTimeEventScaled,QHea5.nextTimeEventScaled,QHea6.nextTimeEvent,$PRE.QHea6.nextTimeEventScaled,QHea6.nextTimeEventScaled,QHea7.nextTimeEvent,$PRE.QHea7.nextTimeEventScaled,QHea7.nextTimeEventScaled,QCoo5.nextTimeEvent,$PRE.QCoo5.nextTimeEventScaled,QCoo5.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1217): * Single equations (assignments): 1184 * Array equations: 12 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 10,(1,100.0%) 6,(1,100.0%) 8,(1,100.0%) 6,(2,100.0%) 13,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01966/8.433, allocations: 5.473 MB / 2.534 GB, free: 20.35 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008205/8.441, allocations: 1.889 MB / 2.536 GB, free: 18.44 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07044/8.512, allocations: 14.96 MB / 2.551 GB, free: 7.738 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05668/8.569, allocations: 11.81 MB / 2.562 GB, free: 15.09 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.463e-05/8.569, allocations: 0 / 2.562 GB, free: 15.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0171/8.586, allocations: 3.582 MB / 2.566 GB, free: 12.49 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007934/8.594, allocations: 144.7 kB / 2.566 GB, free: 12.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03579/8.63, allocations: 1.706 MB / 2.567 GB, free: 10.85 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003256/8.633, allocations: 0.4979 MB / 2.568 GB, free: 10.4 MB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.118/8.751, allocations: 13.89 MB / 2.581 GB, free: 14.95 MB / 1.182 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.09794/8.849, allocations: 20.26 MB / 2.601 GB, free: 10.59 MB / 1.198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02571/8.875, allocations: 5.757 MB / 2.607 GB, free: 4.816 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.04152/8.917, allocations: 13.02 MB / 2.62 GB, free: 7.898 MB / 1.214 GB Notification: Performance of Backend: time 1.303e-06/8.917, allocations: 0 / 2.62 GB, free: 7.898 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1762/9.093, allocations: 26.98 MB / 2.646 GB, free: 15.14 MB / 1.245 GB Notification: Performance of SimCode: time 1.532/10.62, allocations: 51.09 MB / 2.696 GB, free: 0.603 GB / 1.276 GB Notification: Performance of Templates: time 1.312/11.94, allocations: 407.3 MB / 3.093 GB, free: 307.7 MB / 1.276 GB