Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.606/1.606, allocations: 287.4 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009241/0.0009242, allocations: 174.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.4 MB / 0.6304 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006913/0.0006913, allocations: 101.1 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 14.38 kB / 0.8667 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1697, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5533/0.7231, allocations: 183.6 MB / 1.159 GB, free: 4.949 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02134/0.7445, allocations: 13.85 MB / 1.172 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003596/0.7481, allocations: 78.31 kB / 1.172 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.7507, allocations: 1.059 MB / 1.173 GB, free: 9.074 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.00606/0.7567, allocations: 2.058 MB / 1.175 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.761, allocations: 1.544 MB / 1.177 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008656/0.7697, allocations: 6.517 MB / 1.183 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005306/0.775, allocations: 4.446 MB / 1.187 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.778, allocations: 1.812 MB / 1.189 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/0.7812, allocations: 2.364 MB / 1.192 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004863/0.7817, allocations: 153.4 kB / 1.192 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.7846, allocations: 0.9151 MB / 1.193 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.7856, allocations: 1.073 MB / 1.194 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.7867, allocations: 0.8265 MB / 1.194 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005856/0.7926, allocations: 5.676 MB / 1.2 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.7926, allocations: 0 / 1.2 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7926, allocations: 0 / 1.2 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002185/0.7928, allocations: 0 / 1.2 GB, free: 8.012 MB / 0.7292 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.009514/0.8024, allocations: 4.715 MB / 1.205 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.8024, allocations: 8.688 kB / 1.205 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/0.8162, allocations: 2.921 MB / 1.207 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005264/0.8215, allocations: 2.667 MB / 1.21 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.8218, allocations: 304.1 kB / 1.21 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009358/0.8227, allocations: 403.9 kB / 1.211 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.8361, allocations: 6.064 MB / 1.217 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.989e-05/0.8362, allocations: 3.938 kB / 1.217 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004496/0.8366, allocations: 172 kB / 1.217 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.8368, allocations: 139.8 kB / 1.217 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.8536, allocations: 7.156 MB / 1.224 GB, free: 0.9766 MB / 0.7448 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.03269/0.8863, allocations: 18.66 MB / 1.242 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00979/0.8961, allocations: 4.818 MB / 1.247 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005949/0.9021, allocations: 3.225 MB / 1.25 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009787/0.9031, allocations: 0.6974 MB / 1.251 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005736/0.9088, allocations: 2.834 MB / 1.253 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=343): time 5.531e-06/0.9088, allocations: 0 / 1.253 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=345): time 0.03896/0.9478, allocations: 15.8 MB / 1.269 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.948, allocations: 226.6 kB / 1.269 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.9517, allocations: 2.866 MB / 1.272 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005434/0.9523, allocations: 89.7 kB / 1.272 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.9537, allocations: 1.653 MB / 1.274 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/0.9548, allocations: 1.147 MB / 1.275 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.9551, allocations: 60 kB / 1.275 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.9553, allocations: 428.2 kB / 1.275 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/0.9602, allocations: 2.262 MB / 1.277 GB, free: 9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005231/0.9655, allocations: 2.595 MB / 1.28 GB, free: 6.34 MB / 0.8073 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.3098/1.275, allocations: 64.94 MB / 1.343 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.275, allocations: 0 / 1.343 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.0142/1.289, allocations: 6.038 MB / 1.349 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/1.29, allocations: 36.36 kB / 1.349 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.29, allocations: 4 kB / 1.349 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/1.291, allocations: 0.828 MB / 1.35 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/1.296, allocations: 0.8229 MB / 1.351 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/1.306, allocations: 6.936 MB / 1.358 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/1.311, allocations: 460.1 kB / 1.358 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005367/1.311, allocations: 131.9 kB / 1.358 GB, free: 5.781 MB / 0.8855 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 ($whenCondition2,$PRE.intGai.nextTimeEvent,$PRE.traSub.T_start,$PRE.traSub.count,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002351/1.314, allocations: 1.127 MB / 1.359 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006112/1.314, allocations: 339.9 kB / 1.36 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/1.33, allocations: 6.579 MB / 1.366 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01272/1.342, allocations: 5.733 MB / 1.372 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.342, allocations: 0 / 1.372 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002164/1.345, allocations: 0.9377 MB / 1.373 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006614/1.345, allocations: 67.98 kB / 1.373 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003529/1.349, allocations: 463.5 kB / 1.373 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005063/1.349, allocations: 262.4 kB / 1.373 GB, free: 6.074 MB / 0.9011 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0169/1.366, allocations: 6.469 MB / 1.38 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01841/1.385, allocations: 8.961 MB / 1.388 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005314/1.39, allocations: 2.629 MB / 1.391 GB, free: 3.895 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002889/1.393, allocations: 2.063 MB / 1.393 GB, free: 1.832 MB / 0.9167 GB Notification: Performance of Backend: time 4.11e-07/1.393, allocations: 0 / 1.393 GB, free: 1.832 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01165/1.405, allocations: 4.809 MB / 1.398 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of SimCode: time 0.01585/1.421, allocations: 10.45 MB / 1.408 GB, free: 2.91 MB / 0.9323 GB Notification: Performance of Templates: time 0.4229/1.844, allocations: 67.56 MB / 1.474 GB, free: 328.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)