Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.767/4.767, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00258/0.002579, allocations: 359.2 kB / 0.6446 GB, free: 21.38 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.406/4.406, allocations: 410.7 MB / 1.113 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001885/0.001884, allocations: 187.1 kB / 1.226 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.000501, allocations: 10.78 kB / 1.349 GB, free: 320.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters): time 2.46/2.671, allocations: 0.6357 GB / 2.097 GB, free: 51 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.2884/2.959, allocations: 157.7 MB / 2.251 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03917/2.999, allocations: 0.7285 MB / 2.252 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.04303/3.042, allocations: 9.478 MB / 2.261 GB, free: 33.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.124/3.166, allocations: 30.22 MB / 2.291 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.08459/3.25, allocations: 20.02 MB / 2.31 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.1329/3.383, allocations: 73.42 MB / 2.382 GB, free: 10.27 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05077/3.434, allocations: 18.56 MB / 2.4 GB, free: 8.031 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05961/3.494, allocations: 19.5 MB / 2.419 GB, free: 5.359 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04239/3.536, allocations: 16.93 MB / 2.435 GB, free: 5.758 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.009429/3.546, allocations: 0.9648 MB / 2.436 GB, free: 4.793 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03792/3.584, allocations: 5.994 MB / 2.442 GB, free: 15.08 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.01434/3.598, allocations: 5.171 MB / 2.447 GB, free: 10.04 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.01608/3.614, allocations: 5.348 MB / 2.453 GB, free: 4.676 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.06884/3.683, allocations: 34.12 MB / 2.486 GB, free: 3.727 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/3.683, allocations: 4 kB / 2.486 GB, free: 3.723 MB / 1.167 GB Notification: Performance of FrontEnd: time 7.644e-06/3.683, allocations: 3.984 kB / 2.486 GB, free: 3.719 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001517/3.685, allocations: 0 / 2.486 GB, free: 3.719 MB / 1.167 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 1.699/5.384, allocations: 23.34 MB / 2.509 GB, free: 125.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/5.384, allocations: 9.562 kB / 2.509 GB, free: 125.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04801/5.432, allocations: 5.809 MB / 2.514 GB, free: 123.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08454/5.516, allocations: 23.58 MB / 2.537 GB, free: 120.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01523/5.532, allocations: 2.636 MB / 2.54 GB, free: 120.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006182/5.538, allocations: 1.433 MB / 2.541 GB, free: 120.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08469/5.623, allocations: 19.82 MB / 2.561 GB, free: 118.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008038/5.624, allocations: 49.39 kB / 2.561 GB, free: 118.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005299/5.629, allocations: 0.5826 MB / 2.561 GB, free: 118.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005058/5.629, allocations: 384.9 kB / 2.562 GB, free: 118.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07594/5.705, allocations: 17.18 MB / 2.578 GB, free: 117.8 MB / 1.167 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.2249/5.93, allocations: 100.6 MB / 2.677 GB, free: 58.94 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0585/5.989, allocations: 13.78 MB / 2.69 GB, free: 49.79 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02553/6.015, allocations: 6.778 MB / 2.697 GB, free: 45.18 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06997/6.085, allocations: 23.01 MB / 2.719 GB, free: 28.36 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02757/6.112, allocations: 6.474 MB / 2.726 GB, free: 23.62 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02156/6.134, allocations: 2.919 MB / 2.728 GB, free: 20.84 MB / 1.167 GB Notification: Performance of pre-optimization done (n=669): time 4.447e-05/6.134, allocations: 0 / 2.728 GB, free: 20.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=669): time 0.1019/6.236, allocations: 19.83 MB / 2.748 GB, free: 5.219 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/6.236, allocations: 123.8 kB / 2.748 GB, free: 5.086 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05156/6.288, allocations: 19.26 MB / 2.767 GB, free: 7.48 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.002729/6.29, allocations: 208.3 kB / 2.767 GB, free: 7.387 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01712/6.307, allocations: 11.15 MB / 2.778 GB, free: 2.012 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.005667/6.313, allocations: 2.311 MB / 2.78 GB, free: 15.77 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/6.315, allocations: 202.4 kB / 2.78 GB, free: 15.58 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0008744/6.316, allocations: 0.6924 MB / 2.781 GB, free: 14.88 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02574/6.341, allocations: 5.498 MB / 2.786 GB, free: 9.375 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03179/6.373, allocations: 9.562 MB / 2.796 GB, free: 14.06 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0288/6.402, allocations: 6.564 MB / 2.802 GB, free: 7.609 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/6.402, allocations: 32 kB / 2.802 GB, free: 7.578 MB / 1.214 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.08114/6.483, allocations: 17.5 MB / 2.819 GB, free: 6.648 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.003421/6.487, allocations: 3.342 MB / 2.822 GB, free: 1.875 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002923/6.487, allocations: 109.9 kB / 2.823 GB, free: 1.77 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009915/6.497, allocations: 1.542 MB / 2.824 GB, free: 220 kB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02313/6.52, allocations: 2.775 MB / 2.827 GB, free: 13.59 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03581/6.556, allocations: 20.17 MB / 2.846 GB, free: 8.32 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03212/6.588, allocations: 1.823 MB / 2.848 GB, free: 6.512 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00315/6.591, allocations: 0.5583 MB / 2.849 GB, free: 5.953 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/6.592, allocations: 4 kB / 2.849 GB, free: 5.949 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06651/6.658, allocations: 15.05 MB / 2.863 GB, free: 7.551 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000325/6.658, allocations: 108.1 kB / 2.864 GB, free: 7.445 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009887/6.668, allocations: 1.541 MB / 2.865 GB, free: 5.887 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02056/6.689, allocations: 2.621 MB / 2.868 GB, free: 3.418 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03613/6.725, allocations: 20.18 MB / 2.887 GB, free: 14.13 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0296/6.755, allocations: 1.705 MB / 2.889 GB, free: 12.43 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003018/6.758, allocations: 0.5349 MB / 2.89 GB, free: 11.9 MB / 1.307 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): 1196 * Array equations: 12 * Algorithm blocks: 0 * 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%) 6,(2,100.0%) 13,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 8,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0185/6.776, allocations: 5.466 MB / 2.895 GB, free: 6.578 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007657/6.784, allocations: 1.907 MB / 2.897 GB, free: 4.648 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07292/6.857, allocations: 14.95 MB / 2.911 GB, free: 5.797 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05823/6.915, allocations: 11.8 MB / 2.923 GB, free: 9.875 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/6.915, allocations: 0 / 2.923 GB, free: 9.875 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.016/6.931, allocations: 3.721 MB / 2.926 GB, free: 6.109 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007055/6.938, allocations: 144 kB / 2.927 GB, free: 5.969 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0311/6.97, allocations: 1.712 MB / 2.928 GB, free: 4.262 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002158/6.972, allocations: 0.4893 MB / 2.929 GB, free: 3.77 MB / 1.339 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07143/7.043, allocations: 13.87 MB / 2.942 GB, free: 5.957 MB / 1.354 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08678/7.13, allocations: 20.25 MB / 2.962 GB, free: 1.613 MB / 1.37 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02453/7.155, allocations: 5.755 MB / 2.968 GB, free: 11.84 MB / 1.386 GB Notification: Performance of sorting global known variables: time 1.373/8.528, allocations: 13.09 MB / 2.98 GB, free: 0.6689 GB / 1.386 GB Notification: Performance of Backend: time 9.22e-07/8.528, allocations: 0 / 2.98 GB, free: 0.6689 GB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.09208/8.62, allocations: 22.54 MB / 3.003 GB, free: 0.6653 GB / 1.386 GB Notification: Performance of SimCode: time 0.1525/8.772, allocations: 51.21 MB / 3.053 GB, free: 0.6424 GB / 1.386 GB Notification: Performance of Templates: time 0.9768/9.749, allocations: 406.1 MB / 3.449 GB, free: 291.1 MB / 1.386 GB