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.001523/0.001523, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002463/0.002463, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.479/1.479, allocations: 205.1 MB / 222 MB, free: 4.766 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.654/1.654, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001347/0.001347, allocations: 62.42 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.273, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03371/0.3068, allocations: 35.09 MB / 0.8169 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009881/0.3167, allocations: 6.846 MB / 0.8236 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.3183, allocations: 47.69 kB / 0.8237 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.3197, allocations: 401.8 kB / 0.824 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.3233, allocations: 1.164 MB / 0.8252 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.3257, allocations: 0.9449 MB / 0.8261 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003829/0.3296, allocations: 2.883 MB / 0.8289 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.3307, allocations: 0.6387 MB / 0.8295 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.3326, allocations: 0.8865 MB / 0.8304 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.3337, allocations: 0.6455 MB / 0.831 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.3338, allocations: 44 kB / 0.8311 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.336, allocations: 0.8888 MB / 0.832 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.3362, allocations: 183.1 kB / 0.8321 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000585/0.3368, allocations: 481.5 kB / 0.8326 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.3391, allocations: 1.647 MB / 0.8342 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3391, allocations: 0 / 0.8342 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3391, allocations: 0 / 0.8342 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.3391, allocations: 4 kB / 0.8342 GB, free: 9.039 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.002402/0.3415, allocations: 1.351 MB / 0.8355 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3416, allocations: 8.031 kB / 0.8355 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/0.3443, allocations: 450.9 kB / 0.836 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.3458, allocations: 0.8804 MB / 0.8368 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.3458, allocations: 45.31 kB / 0.8369 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.3459, allocations: 56 kB / 0.8369 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.3478, allocations: 0.8241 MB / 0.8377 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3479, allocations: 7.938 kB / 0.8377 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.348, allocations: 28 kB / 0.8378 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.348, allocations: 16 kB / 0.8378 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.3502, allocations: 0.7778 MB / 0.8385 GB, free: 4.461 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.006232/0.3565, allocations: 4.66 MB / 0.8431 GB, free: 15.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.3603, allocations: 0.8182 MB / 0.8439 GB, free: 14.58 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.3613, allocations: 363.8 kB / 0.8442 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009971/0.3623, allocations: 0.9376 MB / 0.8451 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.3624, allocations: 46.5 kB / 0.8452 GB, free: 13.03 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 4.89e-06/0.3624, allocations: 3.938 kB / 0.8452 GB, free: 13.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.003386/0.3658, allocations: 1.014 MB / 0.8462 GB, free: 12 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3659, allocations: 55.41 kB / 0.8462 GB, free: 11.94 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000964/0.3668, allocations: 0.7279 MB / 0.8469 GB, free: 11.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.3669, allocations: 29.7 kB / 0.847 GB, free: 11.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.3673, allocations: 443.9 kB / 0.8474 GB, free: 10.73 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.3674, allocations: 134.1 kB / 0.8475 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.3676, allocations: 106.1 kB / 0.8476 GB, free: 10.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3677, allocations: 322 kB / 0.8479 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009852/0.3687, allocations: 334.8 kB / 0.8482 GB, free: 9.832 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.3698, allocations: 0.4994 MB / 0.8487 GB, free: 9.258 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.3718, allocations: 0.7299 MB / 0.8494 GB, free: 8.469 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3718, allocations: 4 kB / 0.8495 GB, free: 8.465 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00248/0.3743, allocations: 0.8662 MB / 0.8503 GB, free: 7.59 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3743, allocations: 4 kB / 0.8503 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3743, allocations: 4 kB / 0.8503 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.3743, allocations: 8.562 kB / 0.8503 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/0.3753, allocations: 183.7 kB / 0.8505 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3753, allocations: 11.94 kB / 0.8505 GB, free: 7.383 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3764, allocations: 143.4 kB / 0.8506 GB, free: 7.242 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.3765, allocations: 27.98 kB / 0.8507 GB, free: 7.215 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001319/0.3778, allocations: 0.4932 MB / 0.8511 GB, free: 6.719 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001095/0.3789, allocations: 0.5024 MB / 0.8516 GB, free: 6.137 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001937/0.3809, allocations: 0.7339 MB / 0.8524 GB, free: 5.344 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.3809, allocations: 4 kB / 0.8524 GB, free: 5.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002457/0.3834, allocations: 0.8436 MB / 0.8532 GB, free: 4.488 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3834, allocations: 15.92 kB / 0.8532 GB, free: 4.473 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3834, allocations: 8.031 kB / 0.8532 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.3834, allocations: 8 kB / 0.8532 GB, free: 4.457 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000888/0.3843, allocations: 179.7 kB / 0.8534 GB, free: 4.281 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3843, allocations: 11.92 kB / 0.8534 GB, free: 4.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.3854, allocations: 135.5 kB / 0.8535 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.3855, allocations: 27.98 kB / 0.8535 GB, free: 4.109 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.0002429/0.3857, allocations: 212.1 kB / 0.8538 GB, free: 3.895 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.3859, allocations: 86.84 kB / 0.8538 GB, free: 3.809 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.3886, allocations: 0.929 MB / 0.8547 GB, free: 2.875 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.3886, allocations: 11.98 kB / 0.8548 GB, free: 2.863 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3886, allocations: 4 kB / 0.8548 GB, free: 2.859 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3887, allocations: 0 / 0.8548 GB, free: 2.859 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.3926, allocations: 1.82 MB / 0.8565 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.3926, allocations: 4 kB / 0.8565 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.3934, allocations: 147.9 kB / 0.8567 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.3934, allocations: 0 / 0.8567 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.3935, allocations: 15.98 kB / 0.8567 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3935, allocations: 4 kB / 0.8567 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3935, allocations: 4 kB / 0.8567 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.3968, allocations: 1.393 MB / 0.8581 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.3972, allocations: 235.9 kB / 0.8583 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.3974, allocations: 11.94 kB / 0.8583 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007853/0.3982, allocations: 96.12 kB / 0.8584 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.3983, allocations: 35.95 kB / 0.8584 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.3983, allocations: 23.84 kB / 0.8584 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006589/0.399, allocations: 0.5029 MB / 0.8589 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/0.399, allocations: 0 / 0.8589 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001332/0.4003, allocations: 431 kB / 0.8593 GB, free: 14.05 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.0008384/0.4012, allocations: 304.5 kB / 0.8596 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00348/0.4047, allocations: 1.171 MB / 0.8608 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4047, allocations: 0 / 0.8608 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4058, allocations: 412.1 kB / 0.8612 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.4074, allocations: 349.6 kB / 0.8615 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/0.4142, allocations: 2.239 MB / 0.8637 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.4147, allocations: 0.9663 MB / 0.8646 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001057/0.4158, allocations: 213 kB / 0.8648 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.416, allocations: 75.39 kB / 0.8649 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/0.416, allocations: 4 kB / 0.8649 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of Templates: time 0.026/0.442, allocations: 15.55 MB / 0.8801 GB, free: 8.977 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)