Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0009331/0.0009333, allocations: 174.4 kB / 325.8 MB, free: 2.668 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.421/1.421, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006847/0.0006847, allocations: 88.38 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003009, allocations: 10.53 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1828, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.004634/0.1875, allocations: 4.669 MB / 0.9008 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.144/0.3315, allocations: 148.7 MB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000734/0.3323, allocations: 19.88 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.3328, allocations: 150.8 kB / 1.046 GB, free: 9.879 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.001126/0.334, allocations: 447.5 kB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.3356, allocations: 0.8086 MB / 1.047 GB, free: 8.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.3372, allocations: 1.66 MB / 1.049 GB, free: 6.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009743/0.3382, allocations: 0.8319 MB / 1.05 GB, free: 6.098 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/0.3388, allocations: 453.8 kB / 1.05 GB, free: 5.652 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.3393, allocations: 0.509 MB / 1.051 GB, free: 5.141 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.435e-05/0.3394, allocations: 36 kB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007706/0.3402, allocations: 423.5 kB / 1.051 GB, free: 4.691 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.3404, allocations: 278.8 kB / 1.051 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.3409, allocations: 0.5705 MB / 1.052 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.3424, allocations: 1.97 MB / 1.054 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3424, allocations: 0 / 1.054 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3424, allocations: 0 / 1.054 GB, free: 1.867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.3424, allocations: 0 / 1.054 GB, free: 1.867 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.002248/0.3447, allocations: 1.443 MB / 1.055 GB, free: 376 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3447, allocations: 8.031 kB / 1.055 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.3449, allocations: 190.1 kB / 1.056 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3539/0.6989, allocations: 1.558 MB / 1.057 GB, free: 159.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.7006, allocations: 0.9736 MB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.7007, allocations: 93.33 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.7009, allocations: 118 kB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/0.7057, allocations: 2.23 MB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.7057, allocations: 8.969 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.7058, allocations: 50.72 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.7059, allocations: 30.38 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007783/0.7137, allocations: 3.128 MB / 1.064 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008981/0.7227, allocations: 4.703 MB / 1.068 GB, free: 158.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007653/0.7304, allocations: 3.032 MB / 1.071 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002825/0.7332, allocations: 1.196 MB / 1.072 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/0.7337, allocations: 0.6105 MB / 1.073 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003036/0.7367, allocations: 1.451 MB / 1.074 GB, free: 155.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=121): time 3.367e-06/0.7367, allocations: 0 / 1.074 GB, free: 155.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=121): time 0.009815/0.7465, allocations: 3.779 MB / 1.078 GB, free: 153.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.7466, allocations: 197.1 kB / 1.078 GB, free: 153 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/0.7476, allocations: 0.7478 MB / 1.079 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.7478, allocations: 47.67 kB / 1.079 GB, free: 152.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.748, allocations: 494.6 kB / 1.079 GB, free: 152.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.7483, allocations: 406.6 kB / 1.08 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.7485, allocations: 83.98 kB / 1.08 GB, free: 151.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.7486, allocations: 344.4 kB / 1.08 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/0.7517, allocations: 1.103 MB / 1.081 GB, free: 150.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.7545, allocations: 1.249 MB / 1.082 GB, free: 150.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005051/0.7596, allocations: 2.188 MB / 1.085 GB, free: 148.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7596, allocations: 0 / 1.085 GB, free: 148.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006107/0.7657, allocations: 2.542 MB / 1.087 GB, free: 145.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7658, allocations: 4 kB / 1.087 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.7658, allocations: 0 / 1.087 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.7663, allocations: 88.89 kB / 1.087 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.7684, allocations: 460.1 kB / 1.088 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.77, allocations: 1.534 MB / 1.089 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.772, allocations: 326.7 kB / 1.089 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.7721, allocations: 59.88 kB / 1.089 GB, free: 143 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (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 (127): * Single equations (assignments): 126 * 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.0006003/0.7727, allocations: 333.5 kB / 1.09 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.7729, allocations: 102.7 kB / 1.09 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006761/0.7797, allocations: 2.973 MB / 1.093 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.7797, allocations: 18.34 kB / 1.093 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7797, allocations: 0 / 1.093 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.7797, allocations: 11.97 kB / 1.093 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008307/0.788, allocations: 4.791 MB / 1.098 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7881, allocations: 0 / 1.098 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/0.79, allocations: 471.3 kB / 1.098 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.7905, allocations: 80.78 kB / 1.098 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.7906, allocations: 47.94 kB / 1.098 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.792, allocations: 1.56 MB / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.792, allocations: 0 / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/0.7982, allocations: 2.737 MB / 1.102 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/0.7987, allocations: 435.3 kB / 1.103 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.7989, allocations: 28 kB / 1.103 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/0.8007, allocations: 287.6 kB / 1.103 GB, free: 128.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.8008, allocations: 89.19 kB / 1.103 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.8009, allocations: 55.94 kB / 1.103 GB, free: 128.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005265/0.8015, allocations: 0.5342 MB / 1.104 GB, free: 128.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8015, allocations: 0 / 1.104 GB, free: 128.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009277/0.8024, allocations: 443.3 kB / 1.104 GB, free: 127.8 MB / 0.698 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 (135): * Single equations (assignments): 132 * 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.007264/0.8097, allocations: 3.774 MB / 1.108 GB, free: 124.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005713/0.8154, allocations: 2.608 MB / 1.11 GB, free: 121.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8154, allocations: 0 / 1.11 GB, free: 121.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.8184, allocations: 1.452 MB / 1.112 GB, free: 120.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.8197, allocations: 306 kB / 1.112 GB, free: 119.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/0.8438, allocations: 13.79 MB / 1.126 GB, free: 105.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.8443, allocations: 1.157 MB / 1.127 GB, free: 104.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001532/0.8458, allocations: 476.5 kB / 1.127 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/0.8466, allocations: 0.5226 MB / 1.128 GB, free: 103.6 MB / 0.698 GB Notification: Performance of SimCode: time 7.52e-07/0.8466, allocations: 0 / 1.128 GB, free: 103.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.607/1.454, allocations: 28.52 MB / 1.155 GB, free: 75.36 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.454, allocations: 277.6 kB / 1.156 GB, free: 74.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/4.708, allocations: 0 / 1.156 GB, free: 74.98 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)