Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008279, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0008921/0.0008921, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.552/1.552, allocations: 252 MB / 0.5102 GB, free: 4.738 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.0007829/0.0007833, allocations: 23.75 kB / 0.6243 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6731/0.6739, allocations: 106.3 MB / 0.7281 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005199/0.6791, allocations: 4.176 MB / 0.7322 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1554/0.8345, allocations: 136.7 MB / 0.8657 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008182/0.8354, allocations: 19.88 kB / 0.8657 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.8359, allocations: 134.9 kB / 0.8658 GB, free: 14.1 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.00141/0.8373, allocations: 425 kB / 0.8663 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.8392, allocations: 0.69 MB / 0.8669 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001933/0.8411, allocations: 1.438 MB / 0.8683 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009826/0.8421, allocations: 0.5476 MB / 0.8689 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008926/0.843, allocations: 430.1 kB / 0.8693 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.8437, allocations: 493.7 kB / 0.8697 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.8438, allocations: 36 kB / 0.8698 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.8449, allocations: 383.6 kB / 0.8701 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.8452, allocations: 262.9 kB / 0.8704 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.8455, allocations: 241 kB / 0.8706 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.847, allocations: 1.383 MB / 0.872 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.8471, allocations: 4 kB / 0.872 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8471, allocations: 3.938 kB / 0.872 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.8471, allocations: 0 / 0.872 GB, free: 7.777 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.002566/0.8497, allocations: 1.379 MB / 0.8733 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8497, allocations: 8.031 kB / 0.8733 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007988/0.8577, allocations: 1.559 MB / 0.8749 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.8595, allocations: 0.8715 MB / 0.8757 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.8596, allocations: 82.27 kB / 0.8758 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.8598, allocations: 112 kB / 0.8759 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005345/0.8651, allocations: 2.046 MB / 0.8779 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.159e-05/0.8652, allocations: 3.938 kB / 0.8779 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.8654, allocations: 51.98 kB / 0.878 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.8655, allocations: 31.95 kB / 0.878 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007808/0.8733, allocations: 2.916 MB / 0.8808 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007865/0.8812, allocations: 4.113 MB / 0.8848 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006795/0.8881, allocations: 2.81 MB / 0.8876 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.8909, allocations: 1.122 MB / 0.8887 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/0.8914, allocations: 0.6023 MB / 0.8893 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003289/0.8948, allocations: 1.369 MB / 0.8906 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=120): time 3.056e-06/0.8948, allocations: 0 / 0.8906 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of matching and sorting (n=120): time 0.009998/0.9048, allocations: 3.541 MB / 0.8941 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.905, allocations: 204.9 kB / 0.8943 GB, free: 484 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.9062, allocations: 0.692 MB / 0.8949 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.9064, allocations: 45.7 kB / 0.895 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/0.9069, allocations: 448.7 kB / 0.8954 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.9073, allocations: 402.1 kB / 0.8958 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.9074, allocations: 20 kB / 0.8958 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.9077, allocations: 406.7 kB / 0.8962 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/0.9105, allocations: 1.033 MB / 0.8972 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/0.9134, allocations: 1.16 MB / 0.8983 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.9163, allocations: 1.033 MB / 0.8994 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.9163, allocations: 0 / 0.8994 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.006577/0.9229, allocations: 2.452 MB / 0.9017 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.9229, allocations: 4 kB / 0.9018 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.923, allocations: 7.953 kB / 0.9018 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.9235, allocations: 80.86 kB / 0.9018 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.9257, allocations: 471.3 kB / 0.9023 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.9278, allocations: 1.542 MB / 0.9038 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.9298, allocations: 323.4 kB / 0.9041 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.93, allocations: 71.86 kB / 0.9042 GB, free: 6.121 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000703/0.9307, allocations: 305.6 kB / 0.9045 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.931, allocations: 98.78 kB / 0.9046 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00763/0.9387, allocations: 2.842 MB / 0.9073 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.9387, allocations: 12 kB / 0.9073 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9387, allocations: 4 kB / 0.9073 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.9388, allocations: 3.984 kB / 0.9073 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4787/1.417, allocations: 4.339 MB / 0.9116 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.417, allocations: 0.9062 kB / 0.9116 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.42, allocations: 462.8 kB / 0.912 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/1.42, allocations: 88.12 kB / 0.9121 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/1.421, allocations: 44.16 kB / 0.9122 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/1.422, allocations: 1.562 MB / 0.9137 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.422, allocations: 0 / 0.9137 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007552/1.43, allocations: 2.579 MB / 0.9162 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008712/1.431, allocations: 416.9 kB / 0.9166 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/1.431, allocations: 26.98 kB / 0.9166 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.433, allocations: 285.4 kB / 0.9169 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/1.433, allocations: 91.92 kB / 0.917 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/1.433, allocations: 55.23 kB / 0.917 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008246/1.434, allocations: 0.5041 MB / 0.9175 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.434, allocations: 0 / 0.9175 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001547/1.435, allocations: 436.7 kB / 0.9179 GB, free: 176.8 MB / 0.7169 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 (134): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/1.437, allocations: 0.594 MB / 0.9185 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007223/1.444, allocations: 2.472 MB / 0.9209 GB, free: 176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.444, allocations: 0 / 0.9209 GB, free: 176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003309/1.447, allocations: 1.359 MB / 0.9223 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/1.449, allocations: 283.4 kB / 0.9225 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/1.455, allocations: 3.391 MB / 0.9258 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/1.455, allocations: 1.121 MB / 0.9269 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00168/1.457, allocations: 474 kB / 0.9274 GB, free: 173 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/1.458, allocations: 152.5 kB / 0.9275 GB, free: 173 MB / 0.7169 GB Notification: Performance of SimCode: time 1.403e-06/1.458, allocations: 4 kB / 0.9275 GB, free: 173 MB / 0.7169 GB Notification: Performance of Templates: time 0.03555/1.493, allocations: 19.38 MB / 0.9465 GB, free: 154.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) Environment - environmentSimulation: