Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.00106/0.001061, allocations: 178.2 kB / 372.9 MB, free: 10.11 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.333/1.333, allocations: 205.4 MB / 0.6316 GB, free: 9.879 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.0007762/0.0007762, allocations: 94.25 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 11.16 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1864, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters): time 1.536/1.722, allocations: 0.6359 GB / 1.617 GB, free: 57.47 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.1919/1.914, allocations: 159.2 MB / 1.772 GB, free: 6.406 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03377/1.948, allocations: 0.7295 MB / 1.773 GB, free: 5.672 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.02986/1.978, allocations: 8.276 MB / 1.781 GB, free: 13.35 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.07575/2.054, allocations: 23.49 MB / 1.804 GB, free: 5.762 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.04121/2.095, allocations: 12.98 MB / 1.817 GB, free: 8.832 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 1.548/3.643, allocations: 73.7 MB / 1.888 GB, free: 23.63 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04763/3.69, allocations: 21.18 MB / 1.909 GB, free: 36.76 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06053/3.751, allocations: 20.87 MB / 1.93 GB, free: 36.69 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03927/3.79, allocations: 16.94 MB / 1.946 GB, free: 36.63 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.01152/3.802, allocations: 0.9642 MB / 1.947 GB, free: 36.63 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03979/3.842, allocations: 8.492 MB / 1.955 GB, free: 36.63 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.01732/3.859, allocations: 5.173 MB / 1.96 GB, free: 36.62 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.04418/3.903, allocations: 12.13 MB / 1.972 GB, free: 36.59 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.05535/3.959, allocations: 34.67 MB / 2.006 GB, free: 28.85 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/3.959, allocations: 0 / 2.006 GB, free: 28.85 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.815e-06/3.959, allocations: 0 / 2.006 GB, free: 28.85 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.00179/3.96, allocations: 0 / 2.006 GB, free: 28.85 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.06685/4.027, allocations: 23.09 MB / 2.029 GB, free: 15.3 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/4.027, allocations: 9.625 kB / 2.029 GB, free: 15.3 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03155/4.059, allocations: 5.812 MB / 2.034 GB, free: 12.75 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06184/4.121, allocations: 24.4 MB / 2.058 GB, free: 15.42 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008269/4.129, allocations: 2.637 MB / 2.061 GB, free: 13.26 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007022/4.136, allocations: 1.43 MB / 2.062 GB, free: 12.29 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06626/4.203, allocations: 19.82 MB / 2.081 GB, free: 13.87 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001488/4.204, allocations: 49.22 kB / 2.082 GB, free: 13.82 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009927/4.214, allocations: 0.5879 MB / 2.082 GB, free: 13.68 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00078/4.215, allocations: 382.3 kB / 2.082 GB, free: 13.31 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05512/4.27, allocations: 17.18 MB / 2.099 GB, free: 1.551 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.1949/4.465, allocations: 100.6 MB / 2.197 GB, free: 11.52 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03516/4.5, allocations: 13.78 MB / 2.211 GB, free: 2.328 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01623/4.517, allocations: 6.786 MB / 2.218 GB, free: 13.71 MB / 1.261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06148/4.578, allocations: 23.02 MB / 2.24 GB, free: 12.9 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01812/4.596, allocations: 6.473 MB / 2.246 GB, free: 8.16 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01702/4.613, allocations: 2.914 MB / 2.249 GB, free: 5.383 MB / 1.276 GB Notification: Performance of pre-optimization done (n=669): time 5.285e-05/4.613, allocations: 4 kB / 2.249 GB, free: 5.379 MB / 1.276 GB Notification: Performance of matching and sorting (n=669): time 0.06365/4.677, allocations: 19.85 MB / 2.269 GB, free: 5.699 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/4.677, allocations: 128.6 kB / 2.269 GB, free: 5.559 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04348/4.721, allocations: 19.26 MB / 2.288 GB, free: 7.949 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.002861/4.724, allocations: 210.6 kB / 2.288 GB, free: 7.855 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.01386/4.738, allocations: 11.15 MB / 2.299 GB, free: 2.48 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.004487/4.742, allocations: 2.307 MB / 2.301 GB, free: 0.5156 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/4.743, allocations: 203.6 kB / 2.301 GB, free: 488 kB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0006544/4.744, allocations: 0.6945 MB / 2.302 GB, free: 15.93 MB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01423/4.758, allocations: 5.498 MB / 2.307 GB, free: 10.93 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01773/4.776, allocations: 9.56 MB / 2.316 GB, free: 15.57 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03279/4.809, allocations: 14.56 MB / 2.331 GB, free: 15.51 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001619/4.809, allocations: 28 kB / 2.331 GB, free: 15.48 MB / 1.354 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.9002/5.709, allocations: 17.51 MB / 2.348 GB, free: 0.6356 GB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.001672/5.711, allocations: 3.339 MB / 2.351 GB, free: 0.6317 GB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/5.711, allocations: 106 kB / 2.351 GB, free: 0.6317 GB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005468/5.717, allocations: 1.535 MB / 2.353 GB, free: 0.6316 GB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01269/5.729, allocations: 2.777 MB / 2.355 GB, free: 0.6316 GB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/5.75, allocations: 20.18 MB / 2.375 GB, free: 0.6195 GB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02073/5.77, allocations: 1.817 MB / 2.377 GB, free: 0.6195 GB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002799/5.773, allocations: 0.5611 MB / 2.377 GB, free: 0.6195 GB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/5.773, allocations: 4.594 kB / 2.377 GB, free: 0.6195 GB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03964/5.813, allocations: 15.06 MB / 2.392 GB, free: 0.6145 GB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003258/5.813, allocations: 106.6 kB / 2.392 GB, free: 0.6145 GB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005236/5.819, allocations: 1.532 MB / 2.394 GB, free: 0.6142 GB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0111/5.83, allocations: 2.615 MB / 2.396 GB, free: 0.614 GB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/5.848, allocations: 20.17 MB / 2.416 GB, free: 0.5985 GB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01766/5.865, allocations: 1.702 MB / 2.418 GB, free: 0.5983 GB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002651/5.868, allocations: 0.5361 MB / 2.418 GB, free: 0.5982 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.01342/5.882, allocations: 5.466 MB / 2.424 GB, free: 0.5955 GB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005141/5.887, allocations: 1.902 MB / 2.425 GB, free: 0.5955 GB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03599/5.923, allocations: 14.96 MB / 2.44 GB, free: 0.5908 GB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02717/5.95, allocations: 11.79 MB / 2.451 GB, free: 0.5868 GB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/5.95, allocations: 6.719 kB / 2.451 GB, free: 0.5868 GB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01358/5.964, allocations: 3.728 MB / 2.455 GB, free: 0.5857 GB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005355/5.969, allocations: 141.1 kB / 2.455 GB, free: 0.5856 GB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01907/5.988, allocations: 1.713 MB / 2.457 GB, free: 0.5855 GB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002076/5.99, allocations: 0.495 MB / 2.457 GB, free: 0.5854 GB / 1.354 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03765/6.028, allocations: 13.88 MB / 2.471 GB, free: 0.5815 GB / 1.354 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04603/6.074, allocations: 20.25 MB / 2.491 GB, free: 0.574 GB / 1.354 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01253/6.086, allocations: 5.761 MB / 2.496 GB, free: 0.572 GB / 1.354 GB Notification: Performance of sorting global known variables: time 0.03161/6.118, allocations: 13.09 MB / 2.509 GB, free: 0.5645 GB / 1.354 GB Notification: Performance of Backend: time 4.288e-06/6.118, allocations: 0 / 2.509 GB, free: 0.5645 GB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.06717/6.185, allocations: 22.75 MB / 2.531 GB, free: 0.5438 GB / 1.354 GB Notification: Performance of SimCode: time 0.1155/6.301, allocations: 51.06 MB / 2.581 GB, free: 0.4941 GB / 1.354 GB Notification: Performance of Templates: time 0.5553/6.856, allocations: 411.8 MB / 2.983 GB, free: 95.34 MB / 1.354 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe 2>&1)