Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.77/2.77, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001451/0.001451, allocations: 187.4 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009417/0.0009415, allocations: 95.69 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006939/0.0006943, allocations: 10.94 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2738, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.8945/1.168, allocations: 145.1 MB / 1.12 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04306/1.211, allocations: 24.37 MB / 1.144 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003967/1.215, allocations: 65.16 kB / 1.144 GB, free: 11.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003153/1.219, allocations: 0.8338 MB / 1.145 GB, free: 11.38 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.006699/1.225, allocations: 1.321 MB / 1.146 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005698/1.231, allocations: 1.143 MB / 1.147 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008905/1.24, allocations: 4.192 MB / 1.151 GB, free: 9.301 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006636/1.247, allocations: 2.744 MB / 1.154 GB, free: 8.215 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/1.251, allocations: 1.258 MB / 1.155 GB, free: 7.707 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004767/1.256, allocations: 1.703 MB / 1.157 GB, free: 6.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001003/1.257, allocations: 97.16 kB / 1.157 GB, free: 6.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/1.26, allocations: 0.5332 MB / 1.157 GB, free: 6.785 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001266/1.261, allocations: 0.6723 MB / 1.158 GB, free: 6.465 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/1.263, allocations: 0.59 MB / 1.159 GB, free: 6.316 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007725/1.27, allocations: 4.033 MB / 1.163 GB, free: 3.664 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.27, allocations: 0 / 1.163 GB, free: 3.664 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.617e-06/1.27, allocations: 0 / 1.163 GB, free: 3.664 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002037/1.271, allocations: 0 / 1.163 GB, free: 3.664 MB / 0.698 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.0144/1.285, allocations: 3.634 MB / 1.166 GB, free: 1.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.285, allocations: 9.406 kB / 1.166 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02429/1.309, allocations: 2.68 MB / 1.169 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007016/1.316, allocations: 2.09 MB / 1.171 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/1.317, allocations: 228.8 kB / 1.171 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/1.318, allocations: 294.3 kB / 1.171 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/1.337, allocations: 4.801 MB / 1.176 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/1.337, allocations: 3.938 kB / 1.176 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005849/1.338, allocations: 126.4 kB / 1.176 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.4e-05/1.338, allocations: 76.14 kB / 1.176 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02567/1.363, allocations: 5.914 MB / 1.182 GB, free: 8.543 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.04279/1.406, allocations: 13.38 MB / 1.195 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/1.425, allocations: 4.366 MB / 1.199 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009088/1.434, allocations: 2.21 MB / 1.201 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/1.436, allocations: 0.6734 MB / 1.202 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009927/1.446, allocations: 2.268 MB / 1.204 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=255): time 9.107e-06/1.446, allocations: 4 kB / 1.204 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=255): time 0.03265/1.479, allocations: 6.654 MB / 1.211 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/1.479, allocations: 205.9 kB / 1.211 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005714/1.485, allocations: 2.27 MB / 1.213 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0009489/1.486, allocations: 77.69 kB / 1.213 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.488, allocations: 1.27 MB / 1.215 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/1.489, allocations: 0.8432 MB / 1.215 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/1.49, allocations: 48 kB / 1.215 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002942/1.49, allocations: 394.5 kB / 1.216 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00843/1.499, allocations: 1.804 MB / 1.218 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009046/1.508, allocations: 2.099 MB / 1.22 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00888/1.517, allocations: 1.944 MB / 1.222 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/1.517, allocations: 0 / 1.222 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.02056/1.537, allocations: 4.519 MB / 1.226 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/1.537, allocations: 8 kB / 1.226 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/1.537, allocations: 4.219 kB / 1.226 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.538, allocations: 233.1 kB / 1.226 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007662/1.546, allocations: 0.7332 MB / 1.227 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006649/1.553, allocations: 3.093 MB / 1.23 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006572/1.559, allocations: 0.4935 MB / 1.23 GB, free: 7.906 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.561, allocations: 107.9 kB / 1.23 GB, free: 7.801 MB / 0.7605 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.003507/1.564, allocations: 0.8882 MB / 1.231 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.565, allocations: 252.8 kB / 1.232 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/1.588, allocations: 5.074 MB / 1.237 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/1.589, allocations: 27.95 kB / 1.237 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/1.589, allocations: 8 kB / 1.237 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.717e-05/1.589, allocations: 11.95 kB / 1.237 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/1.621, allocations: 8.545 MB / 1.245 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/1.621, allocations: 3.938 kB / 1.245 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007298/1.629, allocations: 0.6903 MB / 1.246 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/1.63, allocations: 254.3 kB / 1.246 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000795/1.631, allocations: 75.92 kB / 1.246 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007542/1.639, allocations: 4.797 MB / 1.251 GB, free: 2.664 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.639, allocations: 4.078 kB / 1.251 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03005/1.669, allocations: 7.204 MB / 1.258 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00312/1.672, allocations: 0.8093 MB / 1.258 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/1.673, allocations: 48 kB / 1.258 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006045/1.679, allocations: 375.4 kB / 1.259 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008543/1.68, allocations: 169.8 kB / 1.259 GB, free: 9.945 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005293/1.681, allocations: 95.92 kB / 1.259 GB, free: 9.852 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004034/1.685, allocations: 1.652 MB / 1.261 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.52e-07/1.685, allocations: 0 / 1.261 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005111/1.69, allocations: 0.9465 MB / 1.262 GB, free: 7.234 MB / 0.7917 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.003628/1.693, allocations: 0.9674 MB / 1.263 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01883/1.712, allocations: 4.374 MB / 1.267 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.712, allocations: 4.188 kB / 1.267 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/1.722, allocations: 2.502 MB / 1.269 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005918/1.728, allocations: 0.5954 MB / 1.27 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/1.754, allocations: 8.618 MB / 1.278 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003953/1.758, allocations: 2.354 MB / 1.281 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.008021/1.766, allocations: 1.058 MB / 1.282 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/1.769, allocations: 247.3 kB / 1.282 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of SimCode: time 1.563e-06/1.769, allocations: 0 / 1.282 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of Templates: time 0.1165/1.885, allocations: 39.39 MB / 1.32 GB, free: 11.48 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)