Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001692/0.001693, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.312/1.312, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.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.668/1.668, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001445/0.001445, allocations: 69.31 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2354, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03407/0.2695, allocations: 35.02 MB / 0.817 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009088/0.2786, allocations: 6.765 MB / 0.8237 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.2804, allocations: 39.75 kB / 0.8237 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.282, allocations: 429.7 kB / 0.8241 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.2855, allocations: 1.168 MB / 0.8252 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.288, allocations: 0.9535 MB / 0.8262 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.2908, allocations: 2.239 MB / 0.8284 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.292, allocations: 0.7766 MB / 0.8291 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.2939, allocations: 1.011 MB / 0.8301 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009759/0.2949, allocations: 0.665 MB / 0.8308 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.2951, allocations: 80 kB / 0.8308 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.2971, allocations: 0.9903 MB / 0.8318 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.2974, allocations: 207.2 kB / 0.832 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007241/0.2981, allocations: 0.5248 MB / 0.8325 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.3007, allocations: 1.683 MB / 0.8342 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3007, allocations: 0 / 0.8342 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3007, allocations: 4 kB / 0.8342 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.475e-05/0.3008, allocations: 0 / 0.8342 GB, free: 9.207 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002458/0.3032, allocations: 1.355 MB / 0.8355 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3033, allocations: 8.031 kB / 0.8355 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.3058, allocations: 442.9 kB / 0.8359 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.3072, allocations: 0.8916 MB / 0.8368 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.3072, allocations: 41.31 kB / 0.8368 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3073, allocations: 60 kB / 0.8369 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.3091, allocations: 0.8318 MB / 0.8377 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3091, allocations: 4 kB / 0.8377 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.3092, allocations: 20 kB / 0.8377 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.3092, allocations: 16 kB / 0.8377 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.3113, allocations: 0.7817 MB / 0.8385 GB, free: 4.621 MB / 0.6544 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.005964/0.3173, allocations: 4.652 MB / 0.843 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003594/0.3209, allocations: 0.8298 MB / 0.8438 GB, free: 14.73 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000977/0.3219, allocations: 364.6 kB / 0.8442 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009493/0.3228, allocations: 0.9337 MB / 0.8451 GB, free: 13.24 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.3229, allocations: 50.48 kB / 0.8451 GB, free: 13.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.3229, allocations: 0 / 0.8451 GB, free: 13.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.003214/0.3261, allocations: 1.014 MB / 0.8461 GB, free: 12.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.3262, allocations: 55.41 kB / 0.8462 GB, free: 12.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.3273, allocations: 0.7316 MB / 0.8469 GB, free: 11.36 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.395e-05/0.3274, allocations: 33.7 kB / 0.8469 GB, free: 11.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.3277, allocations: 447.9 kB / 0.8474 GB, free: 10.87 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3279, allocations: 126.1 kB / 0.8475 GB, free: 10.75 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.3281, allocations: 110.1 kB / 0.8476 GB, free: 10.63 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3282, allocations: 322 kB / 0.8479 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.3293, allocations: 330.8 kB / 0.8482 GB, free: 9.984 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.3304, allocations: 0.4994 MB / 0.8487 GB, free: 9.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.3324, allocations: 0.7338 MB / 0.8494 GB, free: 8.617 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3324, allocations: 0 / 0.8494 GB, free: 8.617 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002338/0.3347, allocations: 0.8584 MB / 0.8503 GB, free: 7.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.3348, allocations: 7.984 kB / 0.8503 GB, free: 7.742 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3348, allocations: 4.562 kB / 0.8503 GB, free: 7.738 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3348, allocations: 12 kB / 0.8503 GB, free: 7.727 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008868/0.3357, allocations: 175.7 kB / 0.8504 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.3358, allocations: 15.98 kB / 0.8505 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.3369, allocations: 139.4 kB / 0.8506 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/0.337, allocations: 27.98 kB / 0.8506 GB, free: 7.375 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001251/0.3382, allocations: 0.4932 MB / 0.8511 GB, free: 6.879 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/0.3393, allocations: 0.5024 MB / 0.8516 GB, free: 6.297 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001912/0.3412, allocations: 0.73 MB / 0.8523 GB, free: 5.508 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.3413, allocations: 4 kB / 0.8523 GB, free: 5.504 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002367/0.3436, allocations: 0.8514 MB / 0.8531 GB, free: 4.645 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3436, allocations: 11.94 kB / 0.8532 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3437, allocations: 4 kB / 0.8532 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.3437, allocations: 11.98 kB / 0.8532 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008836/0.3446, allocations: 183.7 kB / 0.8533 GB, free: 4.438 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3446, allocations: 7.984 kB / 0.8534 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.3457, allocations: 139.5 kB / 0.8535 GB, free: 4.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.144e-05/0.3457, allocations: 23.98 kB / 0.8535 GB, free: 4.27 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.346, allocations: 212.1 kB / 0.8537 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.3462, allocations: 86.91 kB / 0.8538 GB, free: 3.969 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.3489, allocations: 0.9323 MB / 0.8547 GB, free: 3.035 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.3489, allocations: 4.188 kB / 0.8547 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3489, allocations: 3.984 kB / 0.8547 GB, free: 3.027 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3489, allocations: 7.922 kB / 0.8547 GB, free: 3.02 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.3528, allocations: 1.828 MB / 0.8565 GB, free: 1.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.3528, allocations: 4 kB / 0.8565 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/0.3536, allocations: 147.9 kB / 0.8566 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.3537, allocations: 4 kB / 0.8567 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.3537, allocations: 15.98 kB / 0.8567 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3537, allocations: 0 / 0.8567 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3537, allocations: 4 kB / 0.8567 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.3573, allocations: 1.393 MB / 0.858 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004185/0.3577, allocations: 227.9 kB / 0.8582 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.3578, allocations: 15.98 kB / 0.8583 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.3586, allocations: 91.94 kB / 0.8584 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.3587, allocations: 31.97 kB / 0.8584 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.3588, allocations: 19.92 kB / 0.8584 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006589/0.3594, allocations: 0.5068 MB / 0.8589 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3594, allocations: 0 / 0.8589 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001287/0.3607, allocations: 431 kB / 0.8593 GB, free: 14.21 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008088/0.3616, allocations: 318.4 kB / 0.8596 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003457/0.365, allocations: 1.194 MB / 0.8608 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.365, allocations: 4 kB / 0.8608 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.3661, allocations: 408.1 kB / 0.8612 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.3677, allocations: 355.7 kB / 0.8615 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006363/0.3741, allocations: 2.231 MB / 0.8637 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.3746, allocations: 0.966 MB / 0.8646 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001002/0.3756, allocations: 213.3 kB / 0.8648 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.3759, allocations: 79.39 kB / 0.8649 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/0.3759, allocations: 0 / 0.8649 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of Templates: time 0.02697/0.4028, allocations: 15.95 MB / 0.8805 GB, free: 8.73 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)