Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") translateModel(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.604/1.604, allocations: 288.4 MB / 304.3 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 173.9 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.4 MB / 0.6316 GB, free: 9.805 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007351/0.0007352, allocations: 94.28 kB / 0.745 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 10.69 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1662, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2): time 0.5478/0.714, allocations: 211.7 MB / 1.187 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.05578/0.7698, allocations: 35.76 MB / 1.222 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01209/0.7819, allocations: 248.2 kB / 1.223 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01679/0.7988, allocations: 6.535 MB / 1.229 GB, free: 12.23 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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‘. Notification: Performance of NFTyping.typeBindings: time 0.01799/0.8168, allocations: 5.125 MB / 1.234 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01235/0.8291, allocations: 3.656 MB / 1.238 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.07082/0.9, allocations: 63.3 MB / 1.299 GB, free: 4.078 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02409/0.9241, allocations: 14.67 MB / 1.314 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03953/0.9637, allocations: 25.79 MB / 1.339 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02127/0.985, allocations: 13.47 MB / 1.352 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.006714/0.9917, allocations: 1.195 MB / 1.353 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01551/1.007, allocations: 5.133 MB / 1.358 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.01339/1.021, allocations: 10.01 MB / 1.368 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.02395/1.045, allocations: 12.45 MB / 1.38 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.04315/1.088, allocations: 41.15 MB / 1.42 GB, free: 7.777 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.088, allocations: 0 / 1.42 GB, free: 7.777 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.294e-06/1.088, allocations: 3.938 kB / 1.42 GB, free: 7.773 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001372/1.089, allocations: 0 / 1.42 GB, free: 7.773 MB / 0.948 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.7564/1.846, allocations: 29.17 MB / 1.449 GB, free: 305.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/1.846, allocations: 9.156 kB / 1.449 GB, free: 305.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03547/1.881, allocations: 7.034 MB / 1.456 GB, free: 303.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06405/1.945, allocations: 42.3 MB / 1.497 GB, free: 274.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/1.946, allocations: 1.407 MB / 1.498 GB, free: 273.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003173/1.95, allocations: 0.9564 MB / 1.499 GB, free: 272.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/1.971, allocations: 13.52 MB / 1.513 GB, free: 258.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/1.971, allocations: 19.81 kB / 1.513 GB, free: 258.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007111/1.971, allocations: 283.8 kB / 1.513 GB, free: 258.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/1.972, allocations: 252.4 kB / 1.513 GB, free: 257.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/1.993, allocations: 13.45 MB / 1.526 GB, free: 244.4 MB / 0.948 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.1213/2.114, allocations: 86.88 MB / 1.611 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/2.131, allocations: 10.28 MB / 1.621 GB, free: 145.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01184/2.143, allocations: 7.434 MB / 1.628 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/2.144, allocations: 0.8403 MB / 1.629 GB, free: 136.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01113/2.155, allocations: 6.423 MB / 1.635 GB, free: 130.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=491): time 9.478e-06/2.155, allocations: 0 / 1.635 GB, free: 130.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=491): time 0.05532/2.211, allocations: 26.38 MB / 1.661 GB, free: 103.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/2.211, allocations: 399.4 kB / 1.662 GB, free: 103.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1018/2.313, allocations: 64.29 MB / 1.724 GB, free: 39.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002611/2.315, allocations: 237.8 kB / 1.725 GB, free: 38.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01511/2.331, allocations: 11.74 MB / 1.736 GB, free: 27.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002813/2.333, allocations: 1.729 MB / 1.738 GB, free: 25.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/2.335, allocations: 232 kB / 1.738 GB, free: 25.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008966/2.336, allocations: 0.8367 MB / 1.739 GB, free: 24.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02474/2.36, allocations: 23.19 MB / 1.761 GB, free: 1.238 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03392/2.394, allocations: 27.73 MB / 1.789 GB, free: 3.637 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7743/3.169, allocations: 34.44 MB / 1.822 GB, free: 330.6 MB / 0.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/3.169, allocations: 37.62 kB / 1.822 GB, free: 330.6 MB / 0.995 GB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.07795/3.247, allocations: 55.49 MB / 1.876 GB, free: 308.5 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.001899/3.249, allocations: 4.293 MB / 1.881 GB, free: 302.4 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03801/3.287, allocations: 22.02 MB / 1.902 GB, free: 280.3 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1093/3.396, allocations: 36.72 MB / 1.938 GB, free: 243.6 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01596/3.412, allocations: 3.359 MB / 1.941 GB, free: 240.2 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/3.435, allocations: 30.21 MB / 1.971 GB, free: 208 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02439/3.459, allocations: 3.072 MB / 1.974 GB, free: 205.6 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003106/3.462, allocations: 0.5804 MB / 1.974 GB, free: 205 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/3.462, allocations: 4 kB / 1.974 GB, free: 205 MB / 0.995 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06028/3.523, allocations: 53.55 MB / 2.027 GB, free: 151.4 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0374/3.56, allocations: 22.39 MB / 2.048 GB, free: 128.9 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007715/3.568, allocations: 3.011 MB / 2.051 GB, free: 125.9 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01518/3.583, allocations: 3.327 MB / 2.055 GB, free: 122.5 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02766/3.611, allocations: 32.13 MB / 2.086 GB, free: 89.02 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02549/3.636, allocations: 2.738 MB / 2.089 GB, free: 86.44 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003295/3.639, allocations: 0.5773 MB / 2.089 GB, free: 85.86 MB / 0.995 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat1.conTimMin.tNext,weaDat1.conTimMin.tNext,$PRE.weaDat1.conTim.tNext,weaDat1.conTim.tNext,$PRE.nPer.T_start,nPer.T_start,$PRE.nPer.count,nPer.count,roo.solRadExc.isFlo[1],roo.solRadExc.isFlo[2],roo.solRadExc.isFlo[3],roo.solRadExc.isFlo[4],roo.solRadExc.isFlo[5],roo.solRadExc.isFlo[6],roo.solRadExc.isFlo[7],roo.solRadExc.isFlo[8],roo.solRadExc.isFlo[9],roo.solRadExc.isFlo[10],roo.solRadExc.isFlo[11],roo.solRadExc.isFlo[12],weaDat1.conTimMin.canRepeatWeatherFile,weaDat1.conTim.canRepeatWeatherFile,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): 1376 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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%) 1} * Non-linear torn systems: 2 {14 53,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.02323/3.663, allocations: 14.24 MB / 2.103 GB, free: 71.59 MB / 0.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00812/3.671, allocations: 2.385 MB / 2.106 GB, free: 69.18 MB / 0.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03714/3.708, allocations: 18.21 MB / 2.123 GB, free: 50.82 MB / 0.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02456/3.733, allocations: 14.62 MB / 2.138 GB, free: 36.05 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.06377/3.796, allocations: 19.98 MB / 2.157 GB, free: 15.96 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01699/3.813, allocations: 6.575 MB / 2.163 GB, free: 9.328 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009186/3.823, allocations: 143.9 kB / 2.164 GB, free: 9.188 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01628/3.839, allocations: 1.424 MB / 2.165 GB, free: 7.766 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/3.84, allocations: 303.3 kB / 2.165 GB, free: 7.469 MB / 0.995 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04445/3.885, allocations: 19.1 MB / 2.184 GB, free: 4.297 MB / 1.011 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.4589/4.344, allocations: 23.21 MB / 2.207 GB, free: 326.4 MB / 1.011 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01125/4.355, allocations: 7.369 MB / 2.214 GB, free: 323.7 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.06147/4.416, allocations: 43.6 MB / 2.256 GB, free: 309.1 MB / 1.011 GB Notification: Performance of Backend: time 1.102e-06/4.416, allocations: 0 / 2.256 GB, free: 309.1 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.09564/4.512, allocations: 61.04 MB / 2.316 GB, free: 254.3 MB / 1.011 GB Notification: Performance of SimCode: time 0.1321/4.644, allocations: 96.79 MB / 2.411 GB, free: 158.1 MB / 1.011 GB Notification: Performance of Templates: time 1.058/5.702, allocations: 0.506 GB / 2.917 GB, free: 29.41 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe 2>&1)