Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 292.3 MB / 308.1 MB, free: 4.32 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.00129/0.00129, allocations: 194.2 kB / 376.9 MB, free: 1.832 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.276/1.276, allocations: 205 MB / 0.6353 GB, free: 9.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009802/0.0009803, allocations: 97.58 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001052, allocations: 55.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2299, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5972/0.8271, allocations: 157.8 MB / 1.136 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03061/0.8578, allocations: 26.02 MB / 1.162 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.8608, allocations: 63.59 kB / 1.162 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.8631, allocations: 0.8772 MB / 1.163 GB, free: 364 kB / 0.7605 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.004607/0.8677, allocations: 1.408 MB / 1.164 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.8718, allocations: 1.401 MB / 1.165 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005607/0.8774, allocations: 4.766 MB / 1.17 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004822/0.8823, allocations: 3.596 MB / 1.174 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.8851, allocations: 1.574 MB / 1.175 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003262/0.8884, allocations: 2.155 MB / 1.177 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0009458/0.8893, allocations: 222.4 kB / 1.177 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.8916, allocations: 0.7547 MB / 1.178 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0007263/0.8923, allocations: 0.8808 MB / 1.179 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.894, allocations: 1.686 MB / 1.181 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004259/0.8983, allocations: 5.099 MB / 1.186 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8983, allocations: 0 / 1.186 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.8983, allocations: 4 kB / 1.186 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.307e-05/0.8984, allocations: 0 / 1.186 GB, free: 6.023 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.008702/0.9071, allocations: 4.234 MB / 1.19 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.9072, allocations: 13.41 kB / 1.19 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.9192, allocations: 2.553 MB / 1.192 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004731/0.924, allocations: 2.164 MB / 1.194 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.9242, allocations: 223.4 kB / 1.195 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005696/0.9248, allocations: 295.8 kB / 1.195 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.9355, allocations: 4.782 MB / 1.2 GB, free: 496 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.9355, allocations: 5.188 kB / 1.2 GB, free: 492 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/0.9359, allocations: 123.2 kB / 1.2 GB, free: 396 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.607e-05/0.9359, allocations: 77.11 kB / 1.2 GB, free: 392 kB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/0.9507, allocations: 5.856 MB / 1.205 GB, free: 15 MB / 0.7917 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.0296/0.9803, allocations: 13.34 MB / 1.218 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.9915, allocations: 4.37 MB / 1.223 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005277/0.9969, allocations: 2.215 MB / 1.225 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.9981, allocations: 0.6679 MB / 1.226 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006241/1.004, allocations: 2.275 MB / 1.228 GB, free: 3.891 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=255): time 7.384e-06/1.004, allocations: 0 / 1.228 GB, free: 3.891 MB / 0.7917 GB Notification: Performance of matching and sorting (n=255): time 0.01694/1.021, allocations: 6.656 MB / 1.234 GB, free: 368 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.022, allocations: 207.2 kB / 1.234 GB, free: 140 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/1.025, allocations: 2.286 MB / 1.237 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003778/1.026, allocations: 73.7 kB / 1.237 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/1.027, allocations: 1.27 MB / 1.238 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009781/1.028, allocations: 0.8432 MB / 1.239 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/1.029, allocations: 480.1 kB / 1.239 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/1.029, allocations: 305.1 kB / 1.24 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/1.033, allocations: 1.808 MB / 1.241 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004428/1.038, allocations: 2.099 MB / 1.243 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008591/1.047, allocations: 3.878 MB / 1.247 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.047, allocations: 0 / 1.247 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.0105/1.057, allocations: 4.527 MB / 1.252 GB, free: 14.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/1.057, allocations: 10.81 kB / 1.252 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/1.057, allocations: 7.938 kB / 1.252 GB, free: 14.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006648/1.058, allocations: 227.6 kB / 1.252 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/1.062, allocations: 0.7371 MB / 1.253 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/1.066, allocations: 3.099 MB / 1.256 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/1.07, allocations: 497.3 kB / 1.256 GB, free: 9.957 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00046/1.07, allocations: 107.9 kB / 1.256 GB, free: 9.852 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002566/1.073, allocations: 0.888 MB / 1.257 GB, free: 8.953 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.074, allocations: 256.8 kB / 1.257 GB, free: 8.699 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.086, allocations: 5.053 MB / 1.262 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/1.086, allocations: 28 kB / 1.262 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.273e-05/1.086, allocations: 7.938 kB / 1.262 GB, free: 3.547 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.593e-05/1.087, allocations: 15.94 kB / 1.262 GB, free: 3.531 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/1.107, allocations: 8.557 MB / 1.271 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.107, allocations: 0 / 1.271 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003368/1.111, allocations: 0.6747 MB / 1.271 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008291/1.111, allocations: 262.3 kB / 1.272 GB, free: 9.898 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003083/1.112, allocations: 75.94 kB / 1.272 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004894/1.117, allocations: 4.812 MB / 1.276 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.117, allocations: 0.8594 kB / 1.276 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8011/1.918, allocations: 111.8 MB / 1.385 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00281/1.921, allocations: 0.7645 MB / 1.386 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.922, allocations: 59 kB / 1.386 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003904/1.926, allocations: 372.5 kB / 1.387 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008164/1.927, allocations: 160 kB / 1.387 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006565/1.927, allocations: 92.08 kB / 1.387 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.004087/1.932, allocations: 1.667 MB / 1.388 GB, free: 273 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.21e-07/1.932, allocations: 0 / 1.388 GB, free: 273 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008209/1.94, allocations: 1.431 MB / 1.39 GB, free: 272.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00342/1.943, allocations: 1.043 MB / 1.391 GB, free: 272.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0151/1.958, allocations: 4.381 MB / 1.395 GB, free: 272.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.958, allocations: 2.25 kB / 1.395 GB, free: 272.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006299/1.965, allocations: 2.508 MB / 1.398 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00455/1.969, allocations: 0.5843 MB / 1.398 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.99, allocations: 10.92 MB / 1.409 GB, free: 267.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/1.993, allocations: 2.429 MB / 1.411 GB, free: 266.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.007336/2.001, allocations: 1.343 MB / 1.413 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003248/2.004, allocations: 317.6 kB / 1.413 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of SimCode: time 8.21e-07/2.004, allocations: 2.516 kB / 1.413 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.1358/2.14, allocations: 85.42 MB / 1.496 GB, free: 241.4 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)