Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 106.5 kB / 16.36 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 71.84 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2159, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters): time 1.488/1.704, allocations: 0.6884 GB / 1.473 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.922/2.626, allocations: 169.1 MB / 1.638 GB, free: 19.4 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04395/2.67, allocations: 0.8633 MB / 1.639 GB, free: 19.4 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.03998/2.71, allocations: 12.1 MB / 1.651 GB, free: 19.19 MB / 1.092 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.09485/2.805, allocations: 28.54 MB / 1.679 GB, free: 18.09 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.05159/2.857, allocations: 19 MB / 1.697 GB, free: 15.97 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.1139/2.971, allocations: 66.91 MB / 1.763 GB, free: 13.61 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06314/3.034, allocations: 26.69 MB / 1.789 GB, free: 3.25 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06967/3.104, allocations: 26.82 MB / 1.815 GB, free: 9.992 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03914/3.143, allocations: 19.26 MB / 1.834 GB, free: 8.16 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.01279/3.156, allocations: 2.824 MB / 1.837 GB, free: 5.336 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04433/3.2, allocations: 11.22 MB / 1.848 GB, free: 10.73 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0153/3.215, allocations: 7.448 MB / 1.855 GB, free: 3.438 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.03639/3.252, allocations: 15.02 MB / 1.869 GB, free: 4.512 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.08191/3.334, allocations: 44.21 MB / 1.913 GB, free: 9.613 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/3.334, allocations: 0 / 1.913 GB, free: 9.613 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.585e-06/3.334, allocations: 0 / 1.913 GB, free: 9.613 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.001687/3.336, allocations: 4 kB / 1.913 GB, free: 9.609 MB / 1.264 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.08923/3.425, allocations: 28.42 MB / 1.94 GB, free: 13.19 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/3.425, allocations: 8.031 kB / 1.94 GB, free: 13.18 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03483/3.46, allocations: 5.325 MB / 1.946 GB, free: 7.816 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06955/3.529, allocations: 24.16 MB / 1.969 GB, free: 104 kB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/3.531, allocations: 1.102 MB / 1.97 GB, free: 15 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006525/3.538, allocations: 1.432 MB / 1.972 GB, free: 13.58 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06664/3.604, allocations: 19.87 MB / 1.991 GB, free: 8.797 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00089/3.605, allocations: 51.47 kB / 1.991 GB, free: 8.746 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006462/3.612, allocations: 0.5966 MB / 1.992 GB, free: 8.152 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005307/3.612, allocations: 387.9 kB / 1.992 GB, free: 7.773 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05442/3.667, allocations: 16.61 MB / 2.008 GB, free: 7.137 MB / 1.357 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.6536/4.321, allocations: 103.8 MB / 2.11 GB, free: 0.6645 GB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03591/4.356, allocations: 12.65 MB / 2.122 GB, free: 0.6602 GB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01574/4.372, allocations: 6.413 MB / 2.128 GB, free: 0.658 GB / 1.404 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05217/4.424, allocations: 22.86 MB / 2.151 GB, free: 0.6448 GB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01805/4.443, allocations: 6.089 MB / 2.157 GB, free: 0.6429 GB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01125/4.454, allocations: 0.8885 MB / 2.157 GB, free: 0.6428 GB / 1.404 GB Notification: Performance of pre-optimization done (n=657): time 3.306e-05/4.454, allocations: 0 / 2.157 GB, free: 0.6428 GB / 1.404 GB Notification: Performance of matching and sorting (n=657): time 0.07303/4.527, allocations: 19.08 MB / 2.176 GB, free: 0.6349 GB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/4.527, allocations: 123.3 kB / 2.176 GB, free: 0.6348 GB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04909/4.576, allocations: 20.13 MB / 2.196 GB, free: 0.6251 GB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.002515/4.579, allocations: 206.2 kB / 2.196 GB, free: 0.6249 GB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.01218/4.591, allocations: 11.23 MB / 2.207 GB, free: 0.6164 GB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.003766/4.595, allocations: 2.268 MB / 2.209 GB, free: 0.6145 GB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004593/4.599, allocations: 2.316 MB / 2.212 GB, free: 0.6132 GB / 1.404 GB Notification: Performance of setup shared object (initialization): time 4.515e-05/4.599, allocations: 301.1 kB / 2.212 GB, free: 0.6129 GB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/4.612, allocations: 5.516 MB / 2.217 GB, free: 0.6102 GB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.017/4.629, allocations: 9.739 MB / 2.227 GB, free: 0.6022 GB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03141/4.661, allocations: 14.74 MB / 2.241 GB, free: 0.5926 GB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/4.661, allocations: 32.75 kB / 2.241 GB, free: 0.5926 GB / 1.404 GB Notification: Performance of matching and sorting (n=1334) (initialization): time 0.052/4.713, allocations: 17.84 MB / 2.259 GB, free: 0.5807 GB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002143/4.713, allocations: 56 kB / 2.259 GB, free: 0.5807 GB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002213/4.713, allocations: 112 kB / 2.259 GB, free: 0.5805 GB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006535/4.72, allocations: 1.68 MB / 2.26 GB, free: 0.5789 GB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01157/4.731, allocations: 2.73 MB / 2.263 GB, free: 0.5762 GB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/4.751, allocations: 21.45 MB / 2.284 GB, free: 0.554 GB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01932/4.77, allocations: 0.9563 MB / 2.285 GB, free: 0.5531 GB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002917/4.773, allocations: 0.5923 MB / 2.285 GB, free: 0.5525 GB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02911/4.802, allocations: 9.823 MB / 2.295 GB, free: 0.5429 GB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01538/4.818, allocations: 9.227 MB / 2.304 GB, free: 0.532 GB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02637/4.844, allocations: 13.83 MB / 2.318 GB, free: 0.5169 GB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001392/4.844, allocations: 39.88 kB / 2.318 GB, free: 0.5169 GB / 1.404 GB Notification: Performance of matching and sorting (n=1334) (initialization_lambda0): time 0.04835/4.893, allocations: 16.83 MB / 2.334 GB, free: 0.5004 GB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/4.893, allocations: 56 kB / 2.334 GB, free: 0.5003 GB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/4.893, allocations: 112 kB / 2.334 GB, free: 0.5002 GB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006265/4.899, allocations: 1.676 MB / 2.336 GB, free: 0.4985 GB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/4.91, allocations: 2.59 MB / 2.338 GB, free: 0.496 GB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/4.929, allocations: 21.45 MB / 2.359 GB, free: 485.2 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01878/4.948, allocations: 0.9077 MB / 2.36 GB, free: 484.3 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002482/4.951, allocations: 0.5675 MB / 2.361 GB, free: 483.7 MB / 1.404 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 520 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.QCoo5.nextTimeEvent,$whenCondition12,$PRE.QHea7.nextTimeEvent,$whenCondition11,$PRE.QHea6.nextTimeEvent,$whenCondition10,$PRE.QHea5.nextTimeEvent,$whenCondition9,$PRE.QCoo4.nextTimeEvent,$whenCondition8,$PRE.QCoo3.nextTimeEvent,$whenCondition7,$PRE.QHea4.nextTimeEvent,$whenCondition6,$PRE.QHea3.nextTimeEvent,$whenCondition5,$PRE.QCoo2.nextTimeEvent,$whenCondition4,$PRE.QCoo1.nextTimeEvent,$whenCondition3,$PRE.QHea2.nextTimeEvent,$whenCondition2,$PRE.QHea1.nextTimeEvent,$whenCondition1,QCoo5.nextTimeEventScaled,$PRE.QCoo5.nextTimeEventScaled,QCoo5.nextTimeEvent,QHea7.nextTimeEventScaled,$PRE.QHea7.nextTimeEventScaled,QHea7.nextTimeEvent,QHea6.nextTimeEventScaled,$PRE.QHea6.nextTimeEventScaled,QHea6.nextTimeEvent,QHea5.nextTimeEventScaled,$PRE.QHea5.nextTimeEventScaled,QHea5.nextTimeEvent,QCoo4.nextTimeEventScaled,$PRE.QCoo4.nextTimeEventScaled,QCoo4.nextTimeEvent,QCoo3.nextTimeEventScaled,$PRE.QCoo3.nextTimeEventScaled,QCoo3.nextTimeEvent,QHea4.nextTimeEventScaled,$PRE.QHea4.nextTimeEventScaled,QHea4.nextTimeEvent,QHea3.nextTimeEventScaled,$PRE.QHea3.nextTimeEventScaled,QHea3.nextTimeEvent,QCoo2.nextTimeEventScaled,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo1.nextTimeEventScaled,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEvent,QHea2.nextTimeEventScaled,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEvent,QHea1.nextTimeEventScaled,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1265): * Single equations (assignments): 1244 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,6,100.0%), (1,6,100.0%), (1,6,100.0%), (2,8,100.0%), (1,6,100.0%), (1,6,100.0%), (1,5,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00496/4.956, allocations: 0.9146 MB / 2.362 GB, free: 482.8 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007655/4.963, allocations: 1.917 MB / 2.364 GB, free: 480.9 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04267/5.006, allocations: 14.26 MB / 2.377 GB, free: 466.7 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03144/5.038, allocations: 11.06 MB / 2.388 GB, free: 455.4 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.504e-05/5.038, allocations: 0 / 2.388 GB, free: 455.4 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0114/5.049, allocations: 3.518 MB / 2.392 GB, free: 451.9 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006691/5.056, allocations: 140 kB / 2.392 GB, free: 451.7 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01754/5.073, allocations: 0.8844 MB / 2.393 GB, free: 450.9 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002085/5.075, allocations: 497.1 kB / 2.393 GB, free: 450.4 MB / 1.404 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03854/5.114, allocations: 12.81 MB / 2.406 GB, free: 437.6 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04951/5.164, allocations: 19.2 MB / 2.424 GB, free: 418.3 MB / 1.404 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01214/5.176, allocations: 5.401 MB / 2.43 GB, free: 412.9 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.02591/5.202, allocations: 13.77 MB / 2.443 GB, free: 399.2 MB / 1.404 GB Notification: Performance of Backend: time 8.21e-07/5.202, allocations: 0 / 2.443 GB, free: 399.2 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.06036/5.262, allocations: 22.45 MB / 2.465 GB, free: 377.6 MB / 1.404 GB Notification: Performance of SimCode: time 0.09124/5.353, allocations: 45.01 MB / 2.509 GB, free: 333 MB / 1.404 GB Notification: Performance of Templates: time 1.258/6.612, allocations: 433.9 MB / 2.933 GB, free: 0.6463 GB / 1.404 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe 2>&1)