Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.196/1.196, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008654/0.0008655, allocations: 181.2 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000655/0.000655, allocations: 90.3 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002665/0.0002665, allocations: 8.875 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.4828/0.6219, allocations: 199.6 MB / 1.092 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.6394, allocations: 14.86 MB / 1.106 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004727/0.6441, allocations: 79.03 kB / 1.106 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.6462, allocations: 1.147 MB / 1.107 GB, free: 1.203 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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‘. Notification: Performance of NFTyping.typeBindings: time 0.005459/0.6517, allocations: 2.404 MB / 1.11 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.6555, allocations: 1.915 MB / 1.112 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005633/0.6611, allocations: 7.397 MB / 1.119 GB, free: 1.008 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004564/0.6657, allocations: 4.389 MB / 1.123 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.6681, allocations: 1.862 MB / 1.125 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.6706, allocations: 2.489 MB / 1.127 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.671, allocations: 156.3 kB / 1.128 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.6742, allocations: 1.617 MB / 1.129 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.6752, allocations: 1.092 MB / 1.13 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.6772, allocations: 2.047 MB / 1.132 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006007/0.6832, allocations: 7.115 MB / 1.139 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6832, allocations: 3.984 kB / 1.139 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6832, allocations: 0 / 1.139 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001011/0.6833, allocations: 0 / 1.139 GB, free: 12.8 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1033 * Number of variables: 1033 Notification: Performance of Generate backend data structure: time 0.007896/0.6912, allocations: 4.723 MB / 1.144 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.6913, allocations: 8.281 kB / 1.144 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.7031, allocations: 2.924 MB / 1.147 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/0.707, allocations: 2.666 MB / 1.149 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.7071, allocations: 303.7 kB / 1.149 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004755/0.7076, allocations: 402.4 kB / 1.15 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.718, allocations: 6.118 MB / 1.156 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.006e-05/0.7181, allocations: 1.875 kB / 1.156 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003746/0.7185, allocations: 166.9 kB / 1.156 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.7186, allocations: 150.2 kB / 1.156 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.7319, allocations: 7.185 MB / 1.163 GB, free: 15.29 MB / 0.7292 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.0257/0.7576, allocations: 18.66 MB / 1.181 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008521/0.7661, allocations: 4.843 MB / 1.186 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004942/0.7711, allocations: 3.085 MB / 1.189 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009255/0.772, allocations: 0.6984 MB / 1.19 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004959/0.777, allocations: 2.844 MB / 1.193 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=343): time 4.849e-06/0.777, allocations: 4 kB / 1.193 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=345): time 0.03338/0.8104, allocations: 15.86 MB / 1.208 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/0.8105, allocations: 230.6 kB / 1.208 GB, free: 344 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/0.8139, allocations: 2.886 MB / 1.211 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002529/0.8142, allocations: 85.7 kB / 1.211 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.8155, allocations: 1.66 MB / 1.213 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008759/0.8163, allocations: 1.147 MB / 1.214 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.8167, allocations: 240 kB / 1.214 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.8168, allocations: 305.1 kB / 1.214 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/0.8211, allocations: 2.262 MB / 1.217 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.8258, allocations: 2.613 MB / 1.219 GB, free: 5.047 MB / 0.7761 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.269/1.095, allocations: 64.96 MB / 1.283 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.095, allocations: 0 / 1.283 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.01165/1.106, allocations: 6.055 MB / 1.289 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/1.106, allocations: 29.7 kB / 1.289 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.106, allocations: 8 kB / 1.289 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/1.108, allocations: 0.828 MB / 1.289 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/1.112, allocations: 0.822 MB / 1.29 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008596/1.12, allocations: 6.96 MB / 1.297 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/1.124, allocations: 460 kB / 1.297 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/1.124, allocations: 134.3 kB / 1.298 GB, free: 4.562 MB / 0.8542 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.002061/1.126, allocations: 1.136 MB / 1.299 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005338/1.127, allocations: 343.7 kB / 1.299 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.139, allocations: 6.586 MB / 1.305 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0102/1.149, allocations: 5.754 MB / 1.311 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/1.149, allocations: 4 kB / 1.311 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.151, allocations: 0.9105 MB / 1.312 GB, free: 5.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/1.151, allocations: 75.83 kB / 1.312 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.154, allocations: 455.8 kB / 1.312 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/1.155, allocations: 258.4 kB / 1.313 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01359/1.168, allocations: 6.482 MB / 1.319 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01528/1.184, allocations: 8.991 MB / 1.328 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004475/1.188, allocations: 2.649 MB / 1.33 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002596/1.191, allocations: 2.079 MB / 1.332 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of Backend: time 2.1e-07/1.191, allocations: 0 / 1.332 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009732/1.2, allocations: 4.842 MB / 1.337 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of SimCode: time 0.01353/1.214, allocations: 10.68 MB / 1.348 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of Templates: time 0.3648/1.579, allocations: 69.13 MB / 1.415 GB, free: 406.9 MB / 0.9636 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)