Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters") translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.085/2.085, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 183.1 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.333/2.333, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009845/0.0009843, allocations: 96.36 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006276/0.0006278, allocations: 12.58 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2035, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters): time 2.545/2.749, allocations: 0.6358 GB / 1.535 GB, free: 51.34 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.2972/3.046, allocations: 159 MB / 1.691 GB, free: 14.24 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03846/3.085, allocations: 0.7334 MB / 1.691 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.04848/3.133, allocations: 8.209 MB / 1.699 GB, free: 5.246 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.1022/3.235, allocations: 21.97 MB / 1.721 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.06112/3.297, allocations: 12.81 MB / 1.733 GB, free: 2.516 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.1354/3.432, allocations: 73.58 MB / 1.805 GB, free: 8.762 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 1.972/5.404, allocations: 20.07 MB / 1.825 GB, free: 17.67 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06268/5.467, allocations: 19.89 MB / 1.844 GB, free: 17.61 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04475/5.512, allocations: 16.99 MB / 1.861 GB, free: 17.56 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.01102/5.523, allocations: 0.9611 MB / 1.862 GB, free: 17.56 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03836/5.561, allocations: 5.948 MB / 1.867 GB, free: 17.55 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.01538/5.577, allocations: 5.146 MB / 1.872 GB, free: 17.55 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.01699/5.594, allocations: 5.337 MB / 1.878 GB, free: 17.52 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.06425/5.658, allocations: 33.75 MB / 1.911 GB, free: 15.86 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/5.658, allocations: 1.422 kB / 1.911 GB, free: 15.86 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.968e-06/5.658, allocations: 0 / 1.911 GB, free: 15.86 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001581/5.66, allocations: 1.781 kB / 1.911 GB, free: 15.86 MB / 1.057 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.08978/5.749, allocations: 23.24 MB / 1.933 GB, free: 5.262 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/5.75, allocations: 8.719 kB / 1.933 GB, free: 5.262 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04873/5.798, allocations: 5.806 MB / 1.939 GB, free: 2.879 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08683/5.885, allocations: 23.53 MB / 1.962 GB, free: 11.06 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0156/5.901, allocations: 2.638 MB / 1.965 GB, free: 10.49 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007084/5.908, allocations: 1.434 MB / 1.966 GB, free: 10.48 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08231/5.99, allocations: 19.72 MB / 1.985 GB, free: 4.309 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000802/5.991, allocations: 41.38 kB / 1.985 GB, free: 4.305 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006513/5.998, allocations: 0.5834 MB / 1.986 GB, free: 4.301 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004956/5.998, allocations: 385.6 kB / 1.986 GB, free: 4.289 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07658/6.075, allocations: 17.18 MB / 2.003 GB, free: 1.34 MB / 1.073 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.2542/6.329, allocations: 101.5 MB / 2.102 GB, free: 13.08 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06393/6.393, allocations: 13.79 MB / 2.116 GB, free: 3.938 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02865/6.422, allocations: 6.784 MB / 2.122 GB, free: 15.32 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07891/6.501, allocations: 22.87 MB / 2.145 GB, free: 14.61 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03054/6.531, allocations: 6.378 MB / 2.151 GB, free: 9.941 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0245/6.556, allocations: 2.925 MB / 2.154 GB, free: 7.156 MB / 1.198 GB Notification: Performance of pre-optimization done (n=669): time 5.361e-05/6.556, allocations: 0 / 2.154 GB, free: 7.156 MB / 1.198 GB Notification: Performance of matching and sorting (n=669): time 0.1127/6.669, allocations: 19.82 MB / 2.173 GB, free: 7.547 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/6.669, allocations: 122.7 kB / 2.173 GB, free: 7.414 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06053/6.729, allocations: 19.26 MB / 2.192 GB, free: 9.805 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.003126/6.733, allocations: 214.8 kB / 2.192 GB, free: 9.707 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01949/6.752, allocations: 11.15 MB / 2.203 GB, free: 4.336 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.005639/6.758, allocations: 2.306 MB / 2.205 GB, free: 2.371 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002411/6.76, allocations: 198.6 kB / 2.205 GB, free: 2.332 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.00107/6.761, allocations: 0.6943 MB / 2.206 GB, free: 1.789 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02697/6.788, allocations: 5.49 MB / 2.211 GB, free: 13.98 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03174/6.82, allocations: 9.552 MB / 2.221 GB, free: 4.668 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02975/6.85, allocations: 6.545 MB / 2.227 GB, free: 400 kB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/6.85, allocations: 32 kB / 2.227 GB, free: 368 kB / 1.245 GB Notification: Performance of matching and sorting (n=1286) (initialization): time 0.08679/6.937, allocations: 17.48 MB / 2.244 GB, free: 15.5 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.003405/6.941, allocations: 3.336 MB / 2.248 GB, free: 10.73 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003626/6.941, allocations: 108 kB / 2.248 GB, free: 10.62 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/6.951, allocations: 1.534 MB / 2.249 GB, free: 9.074 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02383/6.975, allocations: 2.757 MB / 2.252 GB, free: 6.469 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03575/7.011, allocations: 20.01 MB / 2.271 GB, free: 1.352 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379/8.39, allocations: 1.791 MB / 2.273 GB, free: 0.6094 GB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003549/8.394, allocations: 0.5533 MB / 2.274 GB, free: 0.6094 GB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/8.394, allocations: 2.938 kB / 2.274 GB, free: 0.6094 GB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07/8.464, allocations: 15.02 MB / 2.288 GB, free: 0.6092 GB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004243/8.464, allocations: 107.2 kB / 2.288 GB, free: 0.6092 GB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009896/8.474, allocations: 1.532 MB / 2.29 GB, free: 0.6091 GB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02112/8.495, allocations: 2.598 MB / 2.292 GB, free: 0.6091 GB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03221/8.528, allocations: 20.01 MB / 2.312 GB, free: 0.597 GB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03051/8.558, allocations: 1.672 MB / 2.314 GB, free: 0.597 GB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003292/8.562, allocations: 0.5316 MB / 2.314 GB, free: 0.597 GB / 1.292 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 (1205): * Single equations (assignments): 1184 * 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.02124/8.583, allocations: 5.455 MB / 2.32 GB, free: 0.5965 GB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008695/8.592, allocations: 1.903 MB / 2.321 GB, free: 0.5965 GB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07371/8.665, allocations: 14.97 MB / 2.336 GB, free: 0.5918 GB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05912/8.725, allocations: 11.8 MB / 2.348 GB, free: 0.5878 GB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.133e-05/8.725, allocations: 6.469 kB / 2.348 GB, free: 0.5878 GB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01691/8.742, allocations: 3.679 MB / 2.351 GB, free: 0.5863 GB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009083/8.751, allocations: 143 kB / 2.351 GB, free: 0.5862 GB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03254/8.783, allocations: 1.713 MB / 2.353 GB, free: 0.5861 GB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002402/8.786, allocations: 0.4963 MB / 2.353 GB, free: 0.586 GB / 1.292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.073/8.859, allocations: 13.88 MB / 2.367 GB, free: 0.5821 GB / 1.292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08843/8.947, allocations: 20.24 MB / 2.387 GB, free: 0.5748 GB / 1.292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02357/8.971, allocations: 5.755 MB / 2.392 GB, free: 0.5729 GB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03718/9.008, allocations: 13.09 MB / 2.405 GB, free: 0.5631 GB / 1.292 GB Notification: Performance of Backend: time 1.232e-06/9.008, allocations: 0 / 2.405 GB, free: 0.5631 GB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.09342/9.102, allocations: 22.27 MB / 2.427 GB, free: 0.5449 GB / 1.292 GB Notification: Performance of SimCode: time 0.1507/9.253, allocations: 51.2 MB / 2.477 GB, free: 0.4996 GB / 1.292 GB Notification: Performance of Templates: time 1.029/10.28, allocations: 401.9 MB / 2.869 GB, free: 111.6 MB / 1.292 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe 2>&1)