Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008822/0.0008821, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009912/0.0009913, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.306/1.306, allocations: 205.4 MB / 222.5 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 252 MB / 0.5105 GB, free: 4.656 MB / 414.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.0004982/0.0004982, allocations: 16 kB / 0.6249 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4554, allocations: 106.3 MB / 0.7287 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.005162/0.4606, allocations: 4.38 MB / 0.733 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1563/0.6169, allocations: 146.7 MB / 0.8763 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009968/0.6179, allocations: 15.94 kB / 0.8763 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.6187, allocations: 142.9 kB / 0.8765 GB, free: 3.449 MB / 0.6856 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.001868/0.6206, allocations: 428.4 kB / 0.8769 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.6228, allocations: 0.8022 MB / 0.8776 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.6247, allocations: 1.547 MB / 0.8792 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.626, allocations: 0.7851 MB / 0.8799 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.6268, allocations: 453.9 kB / 0.8804 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008754/0.6277, allocations: 0.5092 MB / 0.8809 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.6279, allocations: 36 kB / 0.8809 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009736/0.6289, allocations: 419.5 kB / 0.8813 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.6292, allocations: 262.8 kB / 0.8815 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006342/0.6299, allocations: 0.5529 MB / 0.8821 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.6319, allocations: 1.81 MB / 0.8838 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6319, allocations: 7.938 kB / 0.8839 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6319, allocations: 0 / 0.8839 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.059e-05/0.632, allocations: 0 / 0.8839 GB, free: 11.82 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.003187/0.6352, allocations: 1.384 MB / 0.8852 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.6352, allocations: 15.97 kB / 0.8852 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1217/0.7569, allocations: 20.91 MB / 0.9056 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.7593, allocations: 1.152 MB / 0.9068 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.7596, allocations: 179.4 kB / 0.9069 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006372/0.7603, allocations: 112 kB / 0.907 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4136/1.174, allocations: 9.265 MB / 0.9161 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/1.174, allocations: 3.25 kB / 0.9161 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005369/1.175, allocations: 46.88 kB / 0.9161 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/1.175, allocations: 28.78 kB / 0.9162 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07286/1.247, allocations: 16.9 MB / 0.9327 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0415/1.289, allocations: 10.61 MB / 0.943 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04055/1.33, allocations: 9.542 MB / 0.9523 GB, free: 150 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03274/1.362, allocations: 7.853 MB / 0.96 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004516/1.363, allocations: 0.6088 MB / 0.9606 GB, free: 141.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04262/1.406, allocations: 8.355 MB / 0.9688 GB, free: 133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=101): time 8.847e-06/1.406, allocations: 2.516 kB / 0.9688 GB, free: 133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=101): time 0.1282/1.534, allocations: 23 MB / 0.9912 GB, free: 110 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/1.534, allocations: 192.9 kB / 0.9914 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008828/1.535, allocations: 0.6919 MB / 0.9921 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005744/1.535, allocations: 49.7 kB / 0.9921 GB, free: 109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/1.536, allocations: 465.8 kB / 0.9926 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006587/1.536, allocations: 344.1 kB / 0.9929 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004779/1.537, allocations: 85.67 kB / 0.993 GB, free: 108.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.537, allocations: 398.7 kB / 0.9934 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03434/1.571, allocations: 7.97 MB / 1.001 GB, free: 99.74 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03874/1.61, allocations: 8.091 MB / 1.009 GB, free: 91.62 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1069/1.717, allocations: 14.02 MB / 1.023 GB, free: 77.58 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.717, allocations: 0 / 1.023 GB, free: 77.58 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.06612/1.783, allocations: 15.45 MB / 1.038 GB, free: 62.11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.783, allocations: 8 kB / 1.038 GB, free: 62.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.783, allocations: 0 / 1.038 GB, free: 62.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/1.784, allocations: 84.88 kB / 1.038 GB, free: 62.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01912/1.803, allocations: 3.527 MB / 1.041 GB, free: 58.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/1.805, allocations: 1.514 MB / 1.043 GB, free: 56.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01931/1.824, allocations: 3.314 MB / 1.046 GB, free: 53.51 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005065/1.825, allocations: 107.7 kB / 1.046 GB, free: 53.41 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001122/1.826, allocations: 297.8 kB / 1.046 GB, free: 53.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/1.826, allocations: 105 kB / 1.047 GB, free: 53 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06898/1.895, allocations: 15.87 MB / 1.062 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.895, allocations: 12 kB / 1.062 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.895, allocations: 0 / 1.062 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/1.895, allocations: 11.95 kB / 1.062 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07011/1.966, allocations: 17.88 MB / 1.08 GB, free: 19.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/1.966, allocations: 0 / 1.08 GB, free: 19.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01849/1.984, allocations: 3.511 MB / 1.083 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005263/1.985, allocations: 92.7 kB / 1.083 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000492/1.985, allocations: 91.77 kB / 1.083 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/1.987, allocations: 1.56 MB / 1.085 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.987, allocations: 0 / 1.085 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06874/2.056, allocations: 15.3 MB / 1.1 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/2.057, allocations: 0.6564 MB / 1.1 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006495/2.058, allocations: 24 kB / 1.1 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01989/2.078, allocations: 3.279 MB / 1.103 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/2.078, allocations: 84.88 kB / 1.104 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006767/2.079, allocations: 99.81 kB / 1.104 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009614/2.08, allocations: 0.4951 MB / 1.104 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.71e-07/2.08, allocations: 0 / 1.104 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002414/2.082, allocations: 0.6395 MB / 1.105 GB, free: 9.137 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001873/2.084, allocations: 0.591 MB / 1.105 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.07313/2.157, allocations: 16.19 MB / 1.121 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/2.157, allocations: 0 / 1.121 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.03709/2.195, allocations: 8.145 MB / 1.129 GB, free: 384 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/2.197, allocations: 292.5 kB / 1.129 GB, free: 96 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04136/2.238, allocations: 10.22 MB / 1.139 GB, free: 5.844 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/2.239, allocations: 1.115 MB / 1.14 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004471/2.244, allocations: 0.7106 MB / 1.141 GB, free: 3.98 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/2.246, allocations: 251 kB / 1.141 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of SimCode: time 1.383e-06/2.246, allocations: 0 / 1.141 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of Templates: time 0.05293/2.298, allocations: 34.57 MB / 1.175 GB, free: 1.262 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) Environment - environmentSimulation: