Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 108.3 kB / 16.37 MB, free: 6.309 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.001126/0.001126, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.173/1.173, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.614/1.614, 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.001466/0.001466, allocations: 63.91 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1814, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.4755/0.657, allocations: 202.1 MB / 0.9821 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02019/0.6772, allocations: 14.71 MB / 0.9965 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003291/0.6805, allocations: 91.56 kB / 0.9966 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.6831, allocations: 1.297 MB / 0.9978 GB, free: 15.73 MB / 0.795 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.005637/0.6888, allocations: 2.594 MB / 1 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004451/0.6932, allocations: 2.13 MB / 1.002 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006819/0.7001, allocations: 6.64 MB / 1.009 GB, free: 4.363 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00549/0.7056, allocations: 5.378 MB / 1.014 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.7085, allocations: 2.585 MB / 1.017 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/0.7121, allocations: 3.071 MB / 1.02 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006748/0.7128, allocations: 0.5663 MB / 1.02 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.7158, allocations: 1.86 MB / 1.022 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.717, allocations: 1.589 MB / 1.024 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.7195, allocations: 2.624 MB / 1.026 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.007062/0.7266, allocations: 7.614 MB / 1.034 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7266, allocations: 3.938 kB / 1.034 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7266, allocations: 4 kB / 1.034 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001448/0.7267, allocations: 0 / 1.034 GB, free: 11.04 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01035/0.7371, allocations: 5.561 MB / 1.039 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.7372, allocations: 8.031 kB / 1.039 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.7505, allocations: 2.798 MB / 1.042 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004985/0.7555, allocations: 2.722 MB / 1.044 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.7558, allocations: 308 kB / 1.045 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006725/0.7564, allocations: 400 kB / 1.045 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.768, allocations: 6.037 MB / 1.051 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.669e-05/0.7681, allocations: 7.938 kB / 1.051 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003867/0.7685, allocations: 164 kB / 1.051 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.762e-05/0.7686, allocations: 143.8 kB / 1.051 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.783, allocations: 7.067 MB / 1.058 GB, free: 1.562 MB / 0.8419 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.02672/0.8098, allocations: 18.47 MB / 1.076 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009078/0.8189, allocations: 4.833 MB / 1.081 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005249/0.8241, allocations: 3.066 MB / 1.084 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.8252, allocations: 0.6975 MB / 1.085 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005674/0.8309, allocations: 2.831 MB / 1.087 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=343): time 5.941e-06/0.8309, allocations: 0 / 1.087 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of matching and sorting (n=345): time 0.03763/0.8685, allocations: 15.72 MB / 1.103 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.8687, allocations: 230.6 kB / 1.103 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.8724, allocations: 2.882 MB / 1.106 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003917/0.8728, allocations: 89.7 kB / 1.106 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.8743, allocations: 1.653 MB / 1.108 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.8753, allocations: 1.143 MB / 1.109 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.8763, allocations: 0.5884 MB / 1.109 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8765, allocations: 305.1 kB / 1.109 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/0.8813, allocations: 2.25 MB / 1.112 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005111/0.8864, allocations: 2.595 MB / 1.114 GB, free: 6.926 MB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.5975/1.484, allocations: 64.1 MB / 1.177 GB, free: 294.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.484, allocations: 0 / 1.177 GB, free: 294.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.01345/1.497, allocations: 6.02 MB / 1.183 GB, free: 292.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/1.498, allocations: 33.3 kB / 1.183 GB, free: 292.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.498, allocations: 6.594 kB / 1.183 GB, free: 292.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/1.499, allocations: 0.8289 MB / 1.184 GB, free: 291.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/1.503, allocations: 0.8176 MB / 1.184 GB, free: 291.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008768/1.512, allocations: 7.509 MB / 1.192 GB, free: 286.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003924/1.516, allocations: 394 kB / 1.192 GB, free: 286.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005576/1.516, allocations: 134.9 kB / 1.192 GB, free: 286.4 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 1 * 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.002417/1.519, allocations: 1.129 MB / 1.193 GB, free: 285.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008306/1.52, allocations: 341.1 kB / 1.194 GB, free: 285.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.532, allocations: 6.488 MB / 1.2 GB, free: 282.2 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009949/1.542, allocations: 5.721 MB / 1.206 GB, free: 278.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.542, allocations: 1.312 kB / 1.206 GB, free: 278.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.544, allocations: 0.9056 MB / 1.206 GB, free: 277.7 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007635/1.544, allocations: 77.34 kB / 1.206 GB, free: 277.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/1.548, allocations: 383.5 kB / 1.207 GB, free: 277.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/1.548, allocations: 263.3 kB / 1.207 GB, free: 277 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01353/1.561, allocations: 6.386 MB / 1.213 GB, free: 270.6 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01457/1.576, allocations: 8.933 MB / 1.222 GB, free: 261.6 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00432/1.58, allocations: 2.638 MB / 1.225 GB, free: 259 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002838/1.583, allocations: 2.079 MB / 1.227 GB, free: 256.9 MB / 0.92 GB Notification: Performance of Backend: time 5.71e-07/1.583, allocations: 0 / 1.227 GB, free: 256.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.594, allocations: 4.823 MB / 1.231 GB, free: 252.8 MB / 0.92 GB Notification: Performance of SimCode: time 0.01233/1.606, allocations: 8.855 MB / 1.24 GB, free: 244 MB / 0.92 GB Notification: Performance of Templates: time 0.0863/1.693, allocations: 73.04 MB / 1.311 GB, free: 171.7 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)