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 1.603/1.603, allocations: 287.4 MB / 303.2 MB, free: 8.191 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.000985/0.0009851, allocations: 183.2 kB / 371.8 MB, free: 10.82 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.282/1.282, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0007064/0.0007061, allocations: 92.97 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005336/0.0005337, allocations: 15.34 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5492/0.7678, allocations: 145.1 MB / 1.121 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.7938, allocations: 24.39 MB / 1.145 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.7965, allocations: 60.22 kB / 1.145 GB, free: 11.56 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.7986, allocations: 0.8356 MB / 1.146 GB, free: 11.36 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.004057/0.8026, allocations: 1.325 MB / 1.147 GB, free: 10.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.8061, allocations: 1.138 MB / 1.148 GB, free: 10.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00527/0.8114, allocations: 4.242 MB / 1.152 GB, free: 9.277 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00472/0.8161, allocations: 3.266 MB / 1.155 GB, free: 8.051 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.8186, allocations: 1.26 MB / 1.157 GB, free: 7.539 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.8215, allocations: 1.701 MB / 1.158 GB, free: 6.746 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000715/0.8223, allocations: 98.19 kB / 1.158 GB, free: 6.746 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.8244, allocations: 0.5287 MB / 1.159 GB, free: 6.625 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.8255, allocations: 0.6782 MB / 1.16 GB, free: 6.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.8266, allocations: 0.5895 MB / 1.16 GB, free: 6.086 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004993/0.8316, allocations: 4.023 MB / 1.164 GB, free: 3.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.8316, allocations: 1.156 kB / 1.164 GB, free: 3.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8316, allocations: 0 / 1.164 GB, free: 3.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002059/0.8318, allocations: 0 / 1.164 GB, free: 3.25 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.009204/0.8411, allocations: 3.607 MB / 1.168 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.8411, allocations: 13 kB / 1.168 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.8539, allocations: 2.684 MB / 1.17 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004845/0.8588, allocations: 2.148 MB / 1.172 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.859, allocations: 222.6 kB / 1.173 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.8601, allocations: 303 kB / 1.173 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.8723, allocations: 4.803 MB / 1.178 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.607e-05/0.8724, allocations: 0 / 1.178 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006736/0.8731, allocations: 127.5 kB / 1.178 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.107e-05/0.8732, allocations: 77.88 kB / 1.178 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.8876, allocations: 5.912 MB / 1.183 GB, free: 8.043 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.0261/0.9137, allocations: 13.4 MB / 1.197 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.9241, allocations: 4.348 MB / 1.201 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005098/0.9293, allocations: 2.218 MB / 1.203 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008961/0.9302, allocations: 0.6657 MB / 1.204 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005189/0.9354, allocations: 2.276 MB / 1.206 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=255): time 6.563e-06/0.9354, allocations: 0 / 1.206 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=255): time 0.01699/0.9524, allocations: 6.662 MB / 1.212 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.9526, allocations: 209.9 kB / 1.213 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/0.9563, allocations: 2.27 MB / 1.215 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004106/0.9568, allocations: 69.7 kB / 1.215 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.958, allocations: 1.274 MB / 1.216 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.959, allocations: 0.851 MB / 1.217 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.9593, allocations: 48 kB / 1.217 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.9596, allocations: 402.5 kB / 1.217 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004478/0.964, allocations: 1.8 MB / 1.219 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004658/0.9687, allocations: 2.095 MB / 1.221 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008906/0.9776, allocations: 3.87 MB / 1.225 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.9777, allocations: 8 kB / 1.225 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.01067/0.9883, allocations: 4.52 MB / 1.229 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.9884, allocations: 6.344 kB / 1.229 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.9884, allocations: 4 kB / 1.229 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006991/0.9891, allocations: 224.7 kB / 1.23 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003809/0.9929, allocations: 0.7372 MB / 1.23 GB, free: 8.895 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004075/0.997, allocations: 3.112 MB / 1.233 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/1.001, allocations: 0.4897 MB / 1.234 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/1.001, allocations: 107.9 kB / 1.234 GB, free: 5.047 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.002008/1.003, allocations: 0.8766 MB / 1.235 GB, free: 4.16 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/1.004, allocations: 264.7 kB / 1.235 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.017, allocations: 5.062 MB / 1.24 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-05/1.017, allocations: 11.95 kB / 1.24 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.017, allocations: 0 / 1.24 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.019, allocations: 0.8014 MB / 1.241 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007772/1.02, allocations: 51.98 kB / 1.241 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003163/1.023, allocations: 379.4 kB / 1.241 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/1.023, allocations: 169.9 kB / 1.241 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0126/1.036, allocations: 4.813 MB / 1.246 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01496/1.051, allocations: 7.121 MB / 1.253 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00457/1.055, allocations: 2.081 MB / 1.255 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002966/1.058, allocations: 1.652 MB / 1.257 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of Backend: time 8.52e-07/1.058, allocations: 0 / 1.257 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01248/1.071, allocations: 3.751 MB / 1.26 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01297/1.084, allocations: 7.621 MB / 1.268 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of Templates: time 0.07816/1.162, allocations: 48.45 MB / 1.315 GB, free: 2.137 MB / 0.8386 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)