Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001167/0.001167, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.168/1.168, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.601/1.601, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001421/0.001421, allocations: 76.11 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1748, allocations: 114.5 MB / 0.7848 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.437/0.6119, allocations: 160.2 MB / 0.9412 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.028/0.6399, allocations: 26.18 MB / 0.9668 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.6419, allocations: 71.62 kB / 0.9668 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.6434, allocations: 0.6243 MB / 0.9674 GB, free: 14.99 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.003093/0.6465, allocations: 1.372 MB / 0.9688 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.6496, allocations: 1.556 MB / 0.9703 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004001/0.6536, allocations: 4.433 MB / 0.9746 GB, free: 7.629 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003918/0.6575, allocations: 3.839 MB / 0.9784 GB, free: 3.797 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.6599, allocations: 1.803 MB / 0.9801 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.6622, allocations: 2.094 MB / 0.9822 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.6627, allocations: 408 kB / 0.9826 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.6648, allocations: 1.334 MB / 0.9839 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007936/0.6656, allocations: 1.028 MB / 0.9849 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.6672, allocations: 1.804 MB / 0.9866 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004903/0.6721, allocations: 5.347 MB / 0.9919 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.6721, allocations: 0 / 0.9919 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6722, allocations: 9.344 kB / 0.9919 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.482e-05/0.6722, allocations: 0 / 0.9919 GB, free: 5.938 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: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.007191/0.6794, allocations: 4.006 MB / 0.9958 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.6795, allocations: 8.031 kB / 0.9958 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.6916, allocations: 2.547 MB / 0.9983 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.6955, allocations: 2.081 MB / 1 GB, free: 13.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.6957, allocations: 217.8 kB / 1.001 GB, free: 12.95 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004946/0.6962, allocations: 291.9 kB / 1.001 GB, free: 12.66 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009242/0.7054, allocations: 4.764 MB / 1.005 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/0.7055, allocations: 4 kB / 1.005 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003073/0.7058, allocations: 128 kB / 1.006 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.7058, allocations: 72.88 kB / 1.006 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.7188, allocations: 5.848 MB / 1.011 GB, free: 1.723 MB / 0.795 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.02322/0.742, allocations: 14.1 MB / 1.025 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008972/0.7511, allocations: 4.117 MB / 1.029 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00424/0.7553, allocations: 2.091 MB / 1.031 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008321/0.7562, allocations: 0.6579 MB / 1.032 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004449/0.7606, allocations: 2.231 MB / 1.034 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=231): time 5.38e-06/0.7607, allocations: 0 / 1.034 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=231): time 0.01419/0.7749, allocations: 6.279 MB / 1.04 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.775, allocations: 283 kB / 1.04 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.7779, allocations: 2.063 MB / 1.042 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.7781, allocations: 65.7 kB / 1.042 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000929/0.779, allocations: 1.191 MB / 1.044 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006461/0.7797, allocations: 0.7585 MB / 1.044 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008536/0.7806, allocations: 487.9 kB / 1.045 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.7807, allocations: 301.1 kB / 1.045 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003899/0.7846, allocations: 1.768 MB / 1.047 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/0.789, allocations: 2.135 MB / 1.049 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008144/0.7971, allocations: 3.793 MB / 1.053 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.7971, allocations: 0 / 1.053 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01008/0.8072, allocations: 4.462 MB / 1.057 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.8073, allocations: 8 kB / 1.057 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.8073, allocations: 7.984 kB / 1.057 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/0.8079, allocations: 231.1 kB / 1.057 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/0.8112, allocations: 0.7176 MB / 1.058 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/0.8153, allocations: 3.379 MB / 1.061 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/0.8187, allocations: 0.5294 MB / 1.062 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/0.819, allocations: 107.9 kB / 1.062 GB, free: 12.73 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00151/0.8205, allocations: 0.8099 MB / 1.063 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006588/0.8212, allocations: 241 kB / 1.063 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.8315, allocations: 4.602 MB / 1.067 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.8315, allocations: 11.95 kB / 1.067 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8315, allocations: 1.438 kB / 1.067 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.8328, allocations: 0.7317 MB / 1.068 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/0.8333, allocations: 55.83 kB / 1.068 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/0.8359, allocations: 344.4 kB / 1.069 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.8362, allocations: 149.8 kB / 1.069 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01089/0.8471, allocations: 4.48 MB / 1.073 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01287/0.86, allocations: 6.627 MB / 1.079 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003846/0.8638, allocations: 1.924 MB / 1.081 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002492/0.8664, allocations: 1.478 MB / 1.083 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of Backend: time 1.823e-06/0.8664, allocations: 0 / 1.083 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.009461/0.8758, allocations: 3.685 MB / 1.086 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of SimCode: time 0.009601/0.8855, allocations: 5.915 MB / 1.092 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of Templates: time 0.3731/1.259, allocations: 53.45 MB / 1.144 GB, free: 296.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)