Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.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.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") translateModel(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 107.5 kB / 16.37 MB, free: 6.309 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.001159/0.001159, allocations: 190.5 kB / 17.3 MB, free: 5.871 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.268/1.268, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.744/1.744, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001501/0.001501, allocations: 75.02 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1986, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2): time 0.5771/0.7757, allocations: 233.5 MB / 1.013 GB, free: 356 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0645/0.8402, allocations: 42.7 MB / 1.054 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01117/0.8514, allocations: 334.1 kB / 1.055 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01878/0.8703, allocations: 7.309 MB / 1.062 GB, free: 13.87 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/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.01825/0.8886, allocations: 6.105 MB / 1.068 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.903, allocations: 5.408 MB / 1.073 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.05623/0.9592, allocations: 48.21 MB / 1.12 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.854/1.813, allocations: 18.06 MB / 1.138 GB, free: 24.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03135/1.845, allocations: 19.84 MB / 1.157 GB, free: 23.2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02897/1.874, allocations: 15.16 MB / 1.172 GB, free: 20.52 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01284/1.887, allocations: 2.715 MB / 1.175 GB, free: 20.52 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02109/1.908, allocations: 6.795 MB / 1.181 GB, free: 20.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01785/1.926, allocations: 11.74 MB / 1.193 GB, free: 19.46 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0296/1.955, allocations: 15.06 MB / 1.208 GB, free: 15.26 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.05219/2.007, allocations: 49.64 MB / 1.256 GB, free: 2.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/2.007, allocations: 0.875 kB / 1.256 GB, free: 2.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/2.007, allocations: 0 / 1.256 GB, free: 2.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001361/2.009, allocations: 0 / 1.256 GB, free: 2.508 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.09489/2.104, allocations: 33.95 MB / 1.289 GB, free: 15.09 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/2.104, allocations: 8.031 kB / 1.289 GB, free: 15.08 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03685/2.141, allocations: 7.189 MB / 1.296 GB, free: 7.973 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07409/2.215, allocations: 43.5 MB / 1.339 GB, free: 14.47 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/2.216, allocations: 1.392 MB / 1.34 GB, free: 12.93 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004482/2.221, allocations: 0.9574 MB / 1.341 GB, free: 11.97 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03084/2.251, allocations: 13.56 MB / 1.354 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001457/2.252, allocations: 17.28 kB / 1.354 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008692/2.252, allocations: 282.7 kB / 1.354 GB, free: 13.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/2.253, allocations: 257 kB / 1.355 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02811/2.281, allocations: 13.45 MB / 1.368 GB, free: 204 kB / 1.014 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.1574/2.438, allocations: 84.66 MB / 1.451 GB, free: 10.04 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/2.459, allocations: 10.3 MB / 1.461 GB, free: 15.76 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0139/2.473, allocations: 7.263 MB / 1.468 GB, free: 8.492 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/2.475, allocations: 0.8445 MB / 1.469 GB, free: 7.523 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01363/2.488, allocations: 6.453 MB / 1.475 GB, free: 1.051 MB / 1.123 GB Notification: Performance of pre-optimization done (n=491): time 9.618e-06/2.489, allocations: 0 / 1.475 GB, free: 1.051 MB / 1.123 GB Notification: Performance of matching and sorting (n=491): time 0.06809/2.557, allocations: 26.38 MB / 1.501 GB, free: 6.359 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003018/2.557, allocations: 395.5 kB / 1.501 GB, free: 5.93 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.535/3.092, allocations: 63.46 MB / 1.563 GB, free: 491.3 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.003065/3.095, allocations: 239.4 kB / 1.563 GB, free: 491.3 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.02047/3.116, allocations: 11.67 MB / 1.575 GB, free: 489.4 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.003775/3.119, allocations: 1.742 MB / 1.576 GB, free: 488.9 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01237/3.132, allocations: 7.614 MB / 1.584 GB, free: 485.8 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 4.931e-05/3.132, allocations: 310.8 kB / 1.584 GB, free: 485.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0569/3.189, allocations: 52.42 MB / 1.635 GB, free: 466.8 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05496/3.244, allocations: 57.35 MB / 1.691 GB, free: 442.1 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06703/3.311, allocations: 70.05 MB / 1.76 GB, free: 375.7 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/3.311, allocations: 32 kB / 1.76 GB, free: 375.6 MB / 1.201 GB Notification: Performance of matching and sorting (n=2928) (initialization): time 0.1287/3.44, allocations: 125.8 MB / 1.882 GB, free: 255.4 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003065/3.44, allocations: 296.3 kB / 1.883 GB, free: 255.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08496/3.525, allocations: 87.47 MB / 1.968 GB, free: 167.3 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1102/3.635, allocations: 37.05 MB / 2.004 GB, free: 130.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01628/3.652, allocations: 3.284 MB / 2.008 GB, free: 127.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02381/3.675, allocations: 32.02 MB / 2.039 GB, free: 92.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02585/3.701, allocations: 2.944 MB / 2.042 GB, free: 89.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003787/3.705, allocations: 0.5725 MB / 2.042 GB, free: 89.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06643/3.772, allocations: 65.69 MB / 2.106 GB, free: 23.63 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.4578/4.229, allocations: 57.28 MB / 2.162 GB, free: 482 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07946/4.309, allocations: 69.94 MB / 2.231 GB, free: 450.4 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002321/4.309, allocations: 34.28 kB / 2.231 GB, free: 450.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=2928) (initialization_lambda0): time 0.1325/4.442, allocations: 125.1 MB / 2.353 GB, free: 344.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003229/4.442, allocations: 300.3 kB / 2.353 GB, free: 344.5 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08851/4.531, allocations: 87.36 MB / 2.438 GB, free: 262.9 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008384/4.539, allocations: 3.099 MB / 2.441 GB, free: 259.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01539/4.554, allocations: 3.272 MB / 2.445 GB, free: 256.5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02783/4.582, allocations: 34.42 MB / 2.478 GB, free: 220.6 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02551/4.608, allocations: 2.598 MB / 2.481 GB, free: 218.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003643/4.611, allocations: 0.5618 MB / 2.481 GB, free: 217.6 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 26 (weaDat1.conTim.canRepeatWeatherFile,weaDat1.conTimMin.canRepeatWeatherFile,roo.solRadExc.isFlo[12],roo.solRadExc.isFlo[11],roo.solRadExc.isFlo[10],roo.solRadExc.isFlo[9],roo.solRadExc.isFlo[8],roo.solRadExc.isFlo[7],roo.solRadExc.isFlo[6],roo.solRadExc.isFlo[5],roo.solRadExc.isFlo[4],roo.solRadExc.isFlo[3],roo.solRadExc.isFlo[2],roo.solRadExc.isFlo[1],nPer.count,$PRE.nPer.count,nPer.T_start,$PRE.nPer.T_start,weaDat1.conTim.tNext,$PRE.weaDat1.conTim.tNext,weaDat1.conTimMin.tNext,$PRE.weaDat1.conTimMin.tNext,$whenCondition1,$whenCondition2,$whenCondition3,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1395): * Single equations (assignments): 1337 * Array equations: 39 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,53), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003732/4.615, allocations: 1.106 MB / 2.482 GB, free: 216.6 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00855/4.624, allocations: 2.386 MB / 2.485 GB, free: 214.2 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03619/4.66, allocations: 18.22 MB / 2.503 GB, free: 195.9 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02513/4.685, allocations: 14.69 MB / 2.517 GB, free: 181 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.06818/4.753, allocations: 20.69 MB / 2.537 GB, free: 160.2 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01784/4.771, allocations: 6.282 MB / 2.543 GB, free: 154 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01071/4.782, allocations: 139.9 kB / 2.543 GB, free: 153.8 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01831/4.8, allocations: 1.294 MB / 2.545 GB, free: 152.6 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001669/4.802, allocations: 303.3 kB / 2.545 GB, free: 152.3 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04483/4.847, allocations: 19.15 MB / 2.564 GB, free: 133.1 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04031/4.887, allocations: 23.28 MB / 2.586 GB, free: 109.6 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009903/4.897, allocations: 7.397 MB / 2.594 GB, free: 102.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0679/4.965, allocations: 43.12 MB / 2.636 GB, free: 59.22 MB / 1.201 GB Notification: Performance of Backend: time 7.42e-07/4.965, allocations: 0 / 2.636 GB, free: 59.22 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.5143/5.479, allocations: 136.1 MB / 2.769 GB, free: 465 MB / 1.201 GB Notification: Performance of SimCode: time 0.1416/5.621, allocations: 78.63 MB / 2.845 GB, free: 423.4 MB / 1.201 GB Notification: Performance of Templates: time 1.598/7.219, allocations: 0.5395 GB / 3.385 GB, free: 428.7 MB / 1.201 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe 2>&1)