Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.631/1.631, allocations: 287.4 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 179 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009426/0.0009427, allocations: 93.23 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 10.88 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters): time 1.846/2.069, allocations: 0.6359 GB / 1.615 GB, free: 57.15 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.2257/2.295, allocations: 159.2 MB / 1.771 GB, free: 8.012 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0462/2.341, allocations: 0.7256 MB / 1.771 GB, free: 7.281 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.03528/2.377, allocations: 8.209 MB / 1.779 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.07861/2.455, allocations: 21.96 MB / 1.801 GB, free: 8.969 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.04552/2.501, allocations: 12.91 MB / 1.813 GB, free: 12.2 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 1.647/4.148, allocations: 73.69 MB / 1.885 GB, free: 23.27 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05215/4.2, allocations: 21.13 MB / 1.906 GB, free: 36.42 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05941/4.259, allocations: 20.2 MB / 1.926 GB, free: 36.34 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04147/4.301, allocations: 16.94 MB / 1.942 GB, free: 36.29 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.01292/4.314, allocations: 0.9639 MB / 1.943 GB, free: 36.29 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04706/4.361, allocations: 6.175 MB / 1.949 GB, free: 36.29 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.01868/4.38, allocations: 5.169 MB / 1.954 GB, free: 36.29 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.02189/4.402, allocations: 5.346 MB / 1.96 GB, free: 36.25 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.06248/4.464, allocations: 34.17 MB / 1.993 GB, free: 31.03 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/4.464, allocations: 4.812 kB / 1.993 GB, free: 31.03 MB / 1.12 GB Notification: Performance of FrontEnd: time 3.096e-06/4.464, allocations: 0 / 1.993 GB, free: 31.03 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.002386/4.467, allocations: 5.188 kB / 1.993 GB, free: 31.02 MB / 1.12 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.07496/4.542, allocations: 23.09 MB / 2.015 GB, free: 17.48 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/4.542, allocations: 13.03 kB / 2.015 GB, free: 17.48 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03408/4.576, allocations: 5.815 MB / 2.021 GB, free: 14.92 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07066/4.646, allocations: 24.4 MB / 2.045 GB, free: 6.262 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008563/4.655, allocations: 2.647 MB / 2.048 GB, free: 4.98 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008592/4.664, allocations: 1.433 MB / 2.049 GB, free: 4.012 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07349/4.737, allocations: 19.81 MB / 2.068 GB, free: 5.688 MB / 1.136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000965/4.738, allocations: 50.84 kB / 2.068 GB, free: 5.664 MB / 1.136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007681/4.746, allocations: 0.5861 MB / 2.069 GB, free: 5.516 MB / 1.136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005207/4.747, allocations: 376 kB / 2.069 GB, free: 5.156 MB / 1.136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0586/4.805, allocations: 17.18 MB / 2.086 GB, free: 9.59 MB / 1.151 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.2044/5.01, allocations: 100.6 MB / 2.184 GB, free: 4.309 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0391/5.049, allocations: 13.79 MB / 2.198 GB, free: 11.14 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01723/5.066, allocations: 6.785 MB / 2.204 GB, free: 6.523 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0698/5.136, allocations: 23.01 MB / 2.227 GB, free: 5.73 MB / 1.261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02009/5.156, allocations: 6.472 MB / 2.233 GB, free: 0.9883 MB / 1.261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0209/5.177, allocations: 2.92 MB / 2.236 GB, free: 14.21 MB / 1.276 GB Notification: Performance of pre-optimization done (n=669): time 6.035e-05/5.177, allocations: 7.844 kB / 2.236 GB, free: 14.21 MB / 1.276 GB Notification: Performance of matching and sorting (n=669): time 0.07008/5.247, allocations: 19.85 MB / 2.255 GB, free: 14.56 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/5.247, allocations: 120.7 kB / 2.256 GB, free: 14.43 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05323/5.301, allocations: 19.26 MB / 2.274 GB, free: 0.8164 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.003216/5.304, allocations: 213.3 kB / 2.275 GB, free: 0.7188 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01784/5.322, allocations: 11.16 MB / 2.286 GB, free: 11.34 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.005339/5.327, allocations: 2.312 MB / 2.288 GB, free: 9.375 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001647/5.329, allocations: 199.4 kB / 2.288 GB, free: 9.336 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0007787/5.33, allocations: 0.6998 MB / 2.289 GB, free: 8.789 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01532/5.345, allocations: 5.495 MB / 2.294 GB, free: 4.973 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0199/5.365, allocations: 9.55 MB / 2.303 GB, free: 11.05 MB / 1.323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03508/5.4, allocations: 14.57 MB / 2.318 GB, free: 11.39 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000185/5.4, allocations: 28 kB / 2.318 GB, free: 11.36 MB / 1.339 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.05349/5.454, allocations: 17.51 MB / 2.335 GB, free: 10.43 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.002865/5.457, allocations: 3.336 MB / 2.338 GB, free: 5.66 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/5.457, allocations: 108 kB / 2.338 GB, free: 5.555 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005762/5.463, allocations: 1.537 MB / 2.34 GB, free: 4.004 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01336/5.476, allocations: 2.776 MB / 2.342 GB, free: 1.379 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096/6.572, allocations: 20.17 MB / 2.362 GB, free: 0.622 GB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02732/6.6, allocations: 1.816 MB / 2.364 GB, free: 0.622 GB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003673/6.603, allocations: 0.5608 MB / 2.364 GB, free: 0.622 GB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/6.603, allocations: 5.719 kB / 2.364 GB, free: 0.622 GB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04545/6.649, allocations: 15.05 MB / 2.379 GB, free: 0.6188 GB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000294/6.649, allocations: 106 kB / 2.379 GB, free: 0.6188 GB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005672/6.655, allocations: 1.533 MB / 2.381 GB, free: 0.6185 GB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01224/6.667, allocations: 2.618 MB / 2.383 GB, free: 0.6183 GB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/6.688, allocations: 20.19 MB / 2.403 GB, free: 0.6027 GB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02284/6.71, allocations: 1.708 MB / 2.405 GB, free: 0.6026 GB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003362/6.714, allocations: 0.533 MB / 2.405 GB, free: 0.6025 GB / 1.354 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.01856/6.732, allocations: 5.46 MB / 2.41 GB, free: 0.5998 GB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007152/6.74, allocations: 1.906 MB / 2.412 GB, free: 0.5998 GB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0457/6.785, allocations: 14.96 MB / 2.427 GB, free: 0.5951 GB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03016/6.816, allocations: 11.79 MB / 2.438 GB, free: 0.5912 GB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/6.816, allocations: 0 / 2.438 GB, free: 0.5912 GB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01474/6.83, allocations: 3.719 MB / 2.442 GB, free: 0.59 GB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008807/6.839, allocations: 142.5 kB / 2.442 GB, free: 0.5899 GB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02231/6.862, allocations: 1.718 MB / 2.444 GB, free: 0.5898 GB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002386/6.864, allocations: 0.4929 MB / 2.444 GB, free: 0.5898 GB / 1.354 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05645/6.92, allocations: 13.88 MB / 2.458 GB, free: 0.5859 GB / 1.354 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06994/6.991, allocations: 20.25 MB / 2.478 GB, free: 0.5787 GB / 1.354 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01353/7.004, allocations: 5.761 MB / 2.483 GB, free: 0.5768 GB / 1.354 GB Notification: Performance of sorting global known variables: time 0.03192/7.036, allocations: 13.09 MB / 2.496 GB, free: 0.5707 GB / 1.354 GB Notification: Performance of Backend: time 1.042e-06/7.036, allocations: 0 / 2.496 GB, free: 0.5707 GB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.07945/7.116, allocations: 22.53 MB / 2.518 GB, free: 0.5521 GB / 1.354 GB Notification: Performance of SimCode: time 0.1311/7.247, allocations: 51.06 MB / 2.568 GB, free: 0.5044 GB / 1.354 GB Notification: Performance of Templates: time 0.6223/7.869, allocations: 407.2 MB / 2.966 GB, free: 110.1 MB / 1.354 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe 2>&1)