Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.092/2.092, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001962/0.001962, allocations: 176.5 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.502/2.502, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009487/0.0009482, allocations: 98.58 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006164/0.0006166, allocations: 12.19 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2061, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2206/0.4268, allocations: 145.1 MB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.7779/1.205, allocations: 24.39 MB / 1.065 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/1.208, allocations: 58.19 kB / 1.065 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003119/1.211, allocations: 0.8378 MB / 1.065 GB, free: 3.742 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.006167/1.217, allocations: 1.323 MB / 1.067 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005817/1.223, allocations: 1.15 MB / 1.068 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008458/1.232, allocations: 4.239 MB / 1.072 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007482/1.239, allocations: 3.02 MB / 1.075 GB, free: 3.238 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004401/1.244, allocations: 1.266 MB / 1.076 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004718/1.248, allocations: 1.695 MB / 1.078 GB, free: 3.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001211/1.25, allocations: 97.91 kB / 1.078 GB, free: 3.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/1.253, allocations: 0.5363 MB / 1.078 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001834/1.255, allocations: 0.6694 MB / 1.079 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001929/1.257, allocations: 0.5922 MB / 1.08 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007251/1.264, allocations: 4.023 MB / 1.084 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/1.265, allocations: 1.766 kB / 1.084 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.026e-06/1.265, allocations: 0 / 1.084 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002446/1.265, allocations: 0 / 1.084 GB, free: 18.91 MB / 0.7136 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.01453/1.279, allocations: 3.643 MB / 1.087 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.279, allocations: 8.375 kB / 1.087 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02329/1.303, allocations: 2.675 MB / 1.09 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006938/1.31, allocations: 2.092 MB / 1.092 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/1.31, allocations: 221.5 kB / 1.092 GB, free: 16.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/1.311, allocations: 295.1 kB / 1.092 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0206/1.332, allocations: 4.81 MB / 1.097 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/1.332, allocations: 5.625 kB / 1.097 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/1.333, allocations: 120.6 kB / 1.097 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.378e-05/1.334, allocations: 74.53 kB / 1.097 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02726/1.361, allocations: 5.917 MB / 1.103 GB, free: 15.71 MB / 0.7136 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.05761/1.418, allocations: 13.39 MB / 1.116 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02712/1.446, allocations: 4.352 MB / 1.12 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01238/1.458, allocations: 2.208 MB / 1.122 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/1.46, allocations: 0.6716 MB / 1.123 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01253/1.473, allocations: 2.273 MB / 1.125 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=255): time 9.418e-06/1.473, allocations: 0 / 1.125 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=255): time 0.04008/1.513, allocations: 6.651 MB / 1.132 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/1.513, allocations: 208.8 kB / 1.132 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006178/1.519, allocations: 2.279 MB / 1.134 GB, free: 4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.52, allocations: 71.2 kB / 1.134 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002064/1.523, allocations: 1.269 MB / 1.136 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002243/1.525, allocations: 0.8508 MB / 1.136 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/1.525, allocations: 41.59 kB / 1.136 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002966/1.526, allocations: 406.3 kB / 1.137 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007853/1.533, allocations: 1.802 MB / 1.139 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008647/1.542, allocations: 2.097 MB / 1.141 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008816/1.551, allocations: 1.941 MB / 1.143 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/1.551, allocations: 4 kB / 1.143 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.02025/1.571, allocations: 4.512 MB / 1.147 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/1.571, allocations: 8.391 kB / 1.147 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.571, allocations: 8 kB / 1.147 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.573, allocations: 234.2 kB / 1.147 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007622/1.58, allocations: 0.7298 MB / 1.148 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00627/1.586, allocations: 3.107 MB / 1.151 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006731/1.593, allocations: 0.4897 MB / 1.151 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.594, allocations: 108 kB / 1.152 GB, free: 8.484 MB / 0.7292 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 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003636/1.598, allocations: 0.8863 MB / 1.152 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.599, allocations: 259.7 kB / 1.153 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02503/1.624, allocations: 5.071 MB / 1.158 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.003e-05/1.624, allocations: 24 kB / 1.158 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/1.624, allocations: 4 kB / 1.158 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-05/1.624, allocations: 13.81 kB / 1.158 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03427/1.659, allocations: 8.554 MB / 1.166 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/1.659, allocations: 0 / 1.166 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007398/1.666, allocations: 0.6801 MB / 1.167 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/1.668, allocations: 268 kB / 1.167 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000886/1.669, allocations: 70.06 kB / 1.167 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007347/1.676, allocations: 4.816 MB / 1.172 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.676, allocations: 1.859 kB / 1.172 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02922/1.705, allocations: 7.197 MB / 1.179 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003081/1.708, allocations: 0.8024 MB / 1.179 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009965/1.709, allocations: 56.61 kB / 1.18 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005846/1.715, allocations: 373.6 kB / 1.18 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007838/1.716, allocations: 174.2 kB / 1.18 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000458/1.717, allocations: 93.8 kB / 1.18 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004073/1.721, allocations: 1.651 MB / 1.182 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.12e-07/1.721, allocations: 0 / 1.182 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005162/1.726, allocations: 0.9425 MB / 1.183 GB, free: 15.92 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005361/1.731, allocations: 0.9673 MB / 1.184 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02648/1.758, allocations: 4.386 MB / 1.188 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.758, allocations: 0 / 1.188 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01276/1.771, allocations: 2.511 MB / 1.19 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008749/1.779, allocations: 0.5801 MB / 1.191 GB, free: 9.762 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03581/1.815, allocations: 8.625 MB / 1.199 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005284/1.821, allocations: 2.354 MB / 1.202 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.008082/1.829, allocations: 1.058 MB / 1.203 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002588/1.831, allocations: 252.1 kB / 1.203 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of SimCode: time 1.242e-06/1.831, allocations: 0 / 1.203 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.1327/1.964, allocations: 39.38 MB / 1.241 GB, free: 7.531 MB / 0.8073 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)