Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009446, allocations: 111.1 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.0009071/0.0009071, 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.14/1.14, allocations: 205.1 MB / 223.2 MB, free: 12.18 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.6/1.6, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001355/0.001355, allocations: 71.89 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1842, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.4347/0.619, allocations: 160.7 MB / 0.9418 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.6458, allocations: 26.36 MB / 0.9675 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.6485, allocations: 71.62 kB / 0.9676 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.6505, allocations: 1.006 MB / 0.9686 GB, free: 13.71 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.00399/0.6546, allocations: 1.623 MB / 0.9701 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.6579, allocations: 1.631 MB / 0.9717 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.6625, allocations: 4.783 MB / 0.9764 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003934/0.6664, allocations: 4.15 MB / 0.9805 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.6687, allocations: 1.965 MB / 0.9824 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.6719, allocations: 2.417 MB / 0.9847 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006824/0.6726, allocations: 440 kB / 0.9852 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.6747, allocations: 0.9641 MB / 0.9861 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0009614/0.6757, allocations: 1.145 MB / 0.9872 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.6774, allocations: 2.013 MB / 0.9892 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00476/0.6822, allocations: 5.658 MB / 0.9947 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6822, allocations: 0 / 0.9947 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6822, allocations: 0 / 0.9947 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.438e-05/0.6823, allocations: 0.6562 kB / 0.9947 GB, free: 2.914 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.007142/0.6894, allocations: 4.425 MB / 0.999 GB, free: 14.41 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.6895, allocations: 12.03 kB / 0.999 GB, free: 14.4 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.7011, allocations: 2.573 MB / 1.002 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.7045, allocations: 2.267 MB / 1.004 GB, free: 9.477 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.7047, allocations: 239.4 kB / 1.004 GB, free: 9.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004455/0.7051, allocations: 315.8 kB / 1.004 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009039/0.7142, allocations: 4.964 MB / 1.009 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.7143, allocations: 0 / 1.009 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003414/0.7146, allocations: 132 kB / 1.009 GB, free: 3.758 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.7147, allocations: 76 kB / 1.009 GB, free: 3.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/0.727, allocations: 6.037 MB / 1.015 GB, free: 13.63 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.02155/0.7486, allocations: 14.13 MB / 1.029 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00943/0.758, allocations: 4.544 MB / 1.033 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004376/0.7624, allocations: 2.357 MB / 1.036 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008115/0.7633, allocations: 0.6696 MB / 1.036 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004643/0.7679, allocations: 2.354 MB / 1.039 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=268): time 4.749e-06/0.7679, allocations: 224 / 1.039 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=268): time 0.01663/0.7846, allocations: 7.258 MB / 1.046 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.7847, allocations: 214 kB / 1.046 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.788, allocations: 2.376 MB / 1.048 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.7882, allocations: 69.7 kB / 1.048 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.7893, allocations: 1.337 MB / 1.05 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008078/0.7901, allocations: 0.8895 MB / 1.051 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009179/0.7911, allocations: 496.4 kB / 1.051 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.7912, allocations: 302.8 kB / 1.051 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004057/0.7952, allocations: 1.882 MB / 1.053 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004305/0.7995, allocations: 2.183 MB / 1.055 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008268/0.8078, allocations: 4.048 MB / 1.059 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.8078, allocations: 0 / 1.059 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01005/0.8179, allocations: 4.787 MB / 1.064 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.8179, allocations: 8 kB / 1.064 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.8179, allocations: 4.562 kB / 1.064 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007743/0.8187, allocations: 341.7 kB / 1.064 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/0.8221, allocations: 0.741 MB / 1.065 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/0.8271, allocations: 4.241 MB / 1.069 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/0.8303, allocations: 498.8 kB / 1.07 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004034/0.8308, allocations: 111.9 kB / 1.07 GB, free: 4.535 MB / 0.8575 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 (276): * Single equations (assignments): 275 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001767/0.8325, allocations: 0.9155 MB / 1.071 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007266/0.8333, allocations: 264.7 kB / 1.071 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.8452, allocations: 5.268 MB / 1.076 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.318e-05/0.8453, allocations: 15.94 kB / 1.076 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8453, allocations: 0.5625 kB / 1.076 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.8469, allocations: 0.7937 MB / 1.077 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006335/0.8475, allocations: 67.77 kB / 1.077 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/0.8503, allocations: 349.5 kB / 1.077 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/0.8507, allocations: 193.9 kB / 1.077 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0122/0.8629, allocations: 5.084 MB / 1.082 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01428/0.8772, allocations: 7.422 MB / 1.09 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00418/0.8814, allocations: 2.176 MB / 1.092 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002442/0.8839, allocations: 1.736 MB / 1.093 GB, free: 12 MB / 0.8887 GB Notification: Performance of Backend: time 5.81e-07/0.8839, allocations: 0 / 1.093 GB, free: 12 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00948/0.8934, allocations: 3.904 MB / 1.097 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of SimCode: time 0.01124/0.9047, allocations: 6.809 MB / 1.104 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of Templates: time 0.3522/1.257, allocations: 54.9 MB / 1.158 GB, free: 295.9 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)