Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 110.2 kB / 16.37 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 192.8 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 292.3 MB / 0.5496 GB, free: 17.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1781, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4238/0.602, allocations: 163.1 MB / 0.944 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02955/0.6316, allocations: 27.04 MB / 0.9704 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.6341, allocations: 79.62 kB / 0.9705 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.6362, allocations: 1.126 MB / 0.9716 GB, free: 10.74 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003893/0.6401, allocations: 1.835 MB / 0.9734 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.6436, allocations: 1.92 MB / 0.9753 GB, free: 7 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005263/0.6489, allocations: 5.805 MB / 0.9809 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004574/0.6535, allocations: 4.737 MB / 0.9856 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/0.656, allocations: 2.273 MB / 0.9878 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002791/0.6588, allocations: 2.787 MB / 0.9905 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006147/0.6594, allocations: 0.5117 MB / 0.991 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.6612, allocations: 1.05 MB / 0.992 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009982/0.6622, allocations: 1.348 MB / 0.9934 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.6643, allocations: 2.362 MB / 0.9957 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.6701, allocations: 6.624 MB / 1.002 GB, free: 11.49 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6702, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6702, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.946e-05/0.6703, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.009202/0.6795, allocations: 5.037 MB / 1.007 GB, free: 6.375 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6795, allocations: 12.03 kB / 1.007 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.6917, allocations: 2.639 MB / 1.01 GB, free: 3.715 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.6961, allocations: 2.512 MB / 1.012 GB, free: 1.129 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.6963, allocations: 275.4 kB / 1.012 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005016/0.6968, allocations: 367.8 kB / 1.013 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.707, allocations: 5.546 MB / 1.018 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/0.7071, allocations: 7.938 kB / 1.018 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003469/0.7074, allocations: 152 kB / 1.018 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/0.7075, allocations: 88 kB / 1.018 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.7207, allocations: 6.612 MB / 1.025 GB, free: 4.023 MB / 0.8106 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.02319/0.7439, allocations: 16.96 MB / 1.041 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00853/0.7525, allocations: 4.504 MB / 1.046 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004844/0.7573, allocations: 2.846 MB / 1.049 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008145/0.7581, allocations: 0.6777 MB / 1.049 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004817/0.763, allocations: 2.627 MB / 1.052 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=313): time 4.529e-06/0.763, allocations: 0 / 1.052 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of matching and sorting (n=313): time 0.02189/0.7849, allocations: 9.448 MB / 1.061 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/0.785, allocations: 214.4 kB / 1.061 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.788, allocations: 2.64 MB / 1.064 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002378/0.7882, allocations: 81.7 kB / 1.064 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.7893, allocations: 1.53 MB / 1.065 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008264/0.7902, allocations: 1.04 MB / 1.066 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008932/0.7911, allocations: 0.5446 MB / 1.067 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.7912, allocations: 301.1 kB / 1.067 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004192/0.7954, allocations: 2.094 MB / 1.069 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.7998, allocations: 2.431 MB / 1.072 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008626/0.8084, allocations: 4.524 MB / 1.076 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.8084, allocations: 7.938 kB / 1.076 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01108/0.8195, allocations: 5.62 MB / 1.082 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.8196, allocations: 8 kB / 1.082 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.8196, allocations: 4 kB / 1.082 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.8212, allocations: 0.8241 MB / 1.082 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.8248, allocations: 0.7683 MB / 1.083 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00934/0.8341, allocations: 7.557 MB / 1.09 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/0.8374, allocations: 0.5211 MB / 1.091 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.8377, allocations: 119.9 kB / 1.091 GB, free: 14.6 MB / 0.8887 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 (289): * Single equations (assignments): 288 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001667/0.8394, allocations: 1.013 MB / 1.092 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/0.8399, allocations: 312.1 kB / 1.092 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.852, allocations: 6.111 MB / 1.098 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/0.8521, allocations: 15.94 kB / 1.098 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.8521, allocations: 0 / 1.098 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.8535, allocations: 0.883 MB / 1.099 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004273/0.8539, allocations: 67.84 kB / 1.099 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002656/0.8566, allocations: 363.5 kB / 1.1 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/0.8569, allocations: 238.2 kB / 1.1 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01317/0.8701, allocations: 5.964 MB / 1.106 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01463/0.8848, allocations: 8.284 MB / 1.114 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004376/0.8892, allocations: 2.429 MB / 1.116 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002302/0.8915, allocations: 1.915 MB / 1.118 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of Backend: time 7.21e-07/0.8915, allocations: 0 / 1.118 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.009217/0.9007, allocations: 4.41 MB / 1.122 GB, free: 14.78 MB / 0.92 GB Notification: Performance of SimCode: time 0.01037/0.9111, allocations: 8.017 MB / 1.13 GB, free: 6.754 MB / 0.92 GB Notification: Performance of Templates: time 0.378/1.289, allocations: 62.84 MB / 1.192 GB, free: 282.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)