Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") translateModel(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.285/1.285, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 181.6 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205 MB / 0.5767 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000737/0.0007369, allocations: 98.22 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002793, allocations: 8.875 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2): time 0.5148/0.6599, allocations: 230.3 MB / 1.122 GB, free: 1.496 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.05078/0.7108, allocations: 43 MB / 1.164 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01224/0.723, allocations: 269.1 kB / 1.164 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.01664/0.7397, allocations: 6.983 MB / 1.171 GB, free: 11.16 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.01712/0.7568, allocations: 5.642 MB / 1.176 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01272/0.7696, allocations: 4.864 MB / 1.181 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.06049/0.8301, allocations: 59.35 MB / 1.239 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01871/0.8488, allocations: 14.66 MB / 1.253 GB, free: 396 kB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03526/0.8841, allocations: 23.11 MB / 1.276 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0202/0.9043, allocations: 13.88 MB / 1.289 GB, free: 11.98 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.006216/0.9106, allocations: 1.195 MB / 1.291 GB, free: 10.78 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.015/0.9256, allocations: 5.282 MB / 1.296 GB, free: 5.684 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01253/0.9381, allocations: 9.96 MB / 1.305 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0207/0.9589, allocations: 13.01 MB / 1.318 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.04982/1.009, allocations: 47.36 MB / 1.364 GB, free: 236 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/1.009, allocations: 0 / 1.364 GB, free: 236 kB / 0.8855 GB Notification: Performance of FrontEnd: time 2.023e-06/1.009, allocations: 0 / 1.364 GB, free: 236 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001229/1.01, allocations: 0 / 1.364 GB, free: 236 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1740 * Number of variables: 1740 Notification: Performance of Generate backend data structure: time 0.06414/1.074, allocations: 29.17 MB / 1.393 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.074, allocations: 11.97 kB / 1.393 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0339/1.108, allocations: 7.028 MB / 1.4 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6992/1.807, allocations: 42.3 MB / 1.441 GB, free: 325.8 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/1.808, allocations: 1.406 MB / 1.442 GB, free: 324.7 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003513/1.812, allocations: 0.949 MB / 1.443 GB, free: 324.4 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02572/1.838, allocations: 13.6 MB / 1.457 GB, free: 317.9 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/1.838, allocations: 11.78 kB / 1.457 GB, free: 317.9 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007882/1.839, allocations: 285.6 kB / 1.457 GB, free: 317.6 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/1.839, allocations: 258.3 kB / 1.457 GB, free: 317.6 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02374/1.863, allocations: 13.51 MB / 1.47 GB, free: 309.9 MB / 0.9324 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.1292/1.992, allocations: 86.92 MB / 1.555 GB, free: 221.3 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/2.01, allocations: 10.2 MB / 1.565 GB, free: 211.1 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01182/2.021, allocations: 7.438 MB / 1.572 GB, free: 203.7 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/2.023, allocations: 0.8392 MB / 1.573 GB, free: 202.7 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01156/2.034, allocations: 6.454 MB / 1.58 GB, free: 196.2 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=491): time 9.648e-06/2.034, allocations: 0 / 1.58 GB, free: 196.2 MB / 0.9324 GB Notification: Performance of matching and sorting (n=491): time 0.05747/2.092, allocations: 26.4 MB / 1.605 GB, free: 169.5 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/2.092, allocations: 395.4 kB / 1.606 GB, free: 169.1 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1103/2.202, allocations: 64.51 MB / 1.669 GB, free: 104.7 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.002416/2.205, allocations: 241.6 kB / 1.669 GB, free: 104.5 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.01602/2.221, allocations: 11.75 MB / 1.68 GB, free: 92.77 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.002805/2.224, allocations: 1.734 MB / 1.682 GB, free: 91.05 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006397/2.23, allocations: 5.863 MB / 1.688 GB, free: 85.16 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 3.747e-05/2.23, allocations: 301.1 kB / 1.688 GB, free: 84.86 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04492/2.275, allocations: 52.31 MB / 1.739 GB, free: 32.53 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.691/2.966, allocations: 57.33 MB / 1.795 GB, free: 304.8 MB / 0.9325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06379/3.03, allocations: 70 MB / 1.864 GB, free: 257.7 MB / 0.9325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/3.03, allocations: 32 kB / 1.864 GB, free: 257.6 MB / 0.9325 GB Notification: Performance of matching and sorting (n=2928) (initialization): time 0.1224/3.153, allocations: 125.6 MB / 1.986 GB, free: 137.6 MB / 0.9325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001859/3.154, allocations: 4.005 MB / 1.99 GB, free: 131.9 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08331/3.238, allocations: 87.43 MB / 2.076 GB, free: 44.43 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1007/3.338, allocations: 36.76 MB / 2.111 GB, free: 7.66 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0142/3.353, allocations: 3.26 MB / 2.115 GB, free: 4.395 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3841/3.737, allocations: 30.2 MB / 2.144 GB, free: 283.6 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02522/3.762, allocations: 3.089 MB / 2.147 GB, free: 283.5 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004311/3.766, allocations: 0.5678 MB / 2.148 GB, free: 283.5 MB / 0.9325 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/3.766, allocations: 6.656 kB / 2.148 GB, free: 283.5 MB / 0.9325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1182/3.885, allocations: 123.2 MB / 2.268 GB, free: 194.7 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0843/3.969, allocations: 87.32 MB / 2.353 GB, free: 107.4 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007353/3.976, allocations: 3 MB / 2.356 GB, free: 104.4 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01365/3.99, allocations: 3.235 MB / 2.359 GB, free: 101.2 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02608/4.016, allocations: 32.12 MB / 2.391 GB, free: 67.73 MB / 0.9325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02179/4.038, allocations: 2.753 MB / 2.393 GB, free: 65.2 MB / 0.9325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004152/4.042, allocations: 0.5616 MB / 2.394 GB, free: 64.64 MB / 0.9325 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.02191/4.064, allocations: 14.21 MB / 2.408 GB, free: 50.4 MB / 0.9325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007589/4.072, allocations: 2.379 MB / 2.41 GB, free: 49.34 MB / 0.9325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03947/4.111, allocations: 18.24 MB / 2.428 GB, free: 30.98 MB / 0.9325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02725/4.139, allocations: 14.64 MB / 2.442 GB, free: 16.19 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.06554/4.204, allocations: 20.01 MB / 2.462 GB, free: 12.04 MB / 0.9482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01724/4.221, allocations: 6.487 MB / 2.468 GB, free: 5.816 MB / 0.9482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00827/4.23, allocations: 151.8 kB / 2.468 GB, free: 5.668 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01594/4.246, allocations: 1.416 MB / 2.47 GB, free: 4.254 MB / 0.9482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001456/4.247, allocations: 303.3 kB / 2.47 GB, free: 3.957 MB / 0.9482 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.4278/4.675, allocations: 19.12 MB / 2.489 GB, free: 310.4 MB / 0.9482 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0422/4.717, allocations: 23.26 MB / 2.511 GB, free: 304.9 MB / 0.9482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01035/4.728, allocations: 7.382 MB / 2.519 GB, free: 302.2 MB / 0.9482 GB Notification: Performance of sorting global known variables: time 0.06201/4.79, allocations: 43.82 MB / 2.561 GB, free: 273.1 MB / 0.9482 GB Notification: Performance of Backend: time 1.032e-06/4.79, allocations: 0 / 2.561 GB, free: 273.1 MB / 0.9482 GB Notification: Performance of simCode: created initialization part: time 0.1297/4.919, allocations: 136 MB / 2.694 GB, free: 137.8 MB / 0.9482 GB Notification: Performance of SimCode: time 0.1216/5.041, allocations: 86.22 MB / 2.778 GB, free: 52.48 MB / 0.9482 GB Notification: Performance of Templates: time 1.356/6.397, allocations: 0.5103 GB / 3.289 GB, free: 273 MB / 0.9794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe 2>&1)