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.508/1.508, allocations: 252 MB / 267 MB, free: 10.96 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.0009898/0.00099, allocations: 178.2 kB / 326.6 MB, free: 2.215 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.603/1.603, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.0007547/0.0007547, allocations: 85.95 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003681, allocations: 11.62 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005195/0.2508, allocations: 4.309 MB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1533/0.4041, allocations: 136.9 MB / 1.038 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.4054, allocations: 19.88 kB / 1.038 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000827/0.4062, allocations: 138.8 kB / 1.038 GB, free: 2.438 MB / 0.6823 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.002076/0.4083, allocations: 444.1 kB / 1.039 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.4107, allocations: 0.687 MB / 1.039 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002203/0.4129, allocations: 1.515 MB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.4142, allocations: 0.654 MB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009323/0.4152, allocations: 438 kB / 1.042 GB, free: 14.69 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009769/0.4162, allocations: 0.5015 MB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.4165, allocations: 36 kB / 1.043 GB, free: 14.15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.4178, allocations: 391.6 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005289/0.4183, allocations: 262.9 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.419, allocations: 256.9 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.4212, allocations: 1.578 MB / 1.045 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4212, allocations: 0 / 1.045 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4212, allocations: 0 / 1.045 GB, free: 11.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.112e-05/0.4214, allocations: 8 kB / 1.045 GB, free: 11.66 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.003202/0.4246, allocations: 1.45 MB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4246, allocations: 12.02 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.4248, allocations: 189.9 kB / 1.047 GB, free: 9.949 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009506/0.4343, allocations: 1.563 MB / 1.048 GB, free: 8.383 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.4363, allocations: 0.9459 MB / 1.049 GB, free: 7.395 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.661e-05/0.4364, allocations: 98.44 kB / 1.049 GB, free: 7.297 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.4366, allocations: 120 kB / 1.049 GB, free: 7.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005254/0.4418, allocations: 2.21 MB / 1.051 GB, free: 4.906 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.4419, allocations: 0 / 1.051 GB, free: 4.906 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.442, allocations: 52 kB / 1.051 GB, free: 4.855 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.4421, allocations: 35.95 kB / 1.051 GB, free: 4.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007843/0.4499, allocations: 3.12 MB / 1.054 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4918/0.9418, allocations: 4.677 MB / 1.059 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008503/0.9504, allocations: 3.037 MB / 1.062 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003426/0.9538, allocations: 1.195 MB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/0.9545, allocations: 0.6094 MB / 1.064 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004463/0.959, allocations: 1.445 MB / 1.065 GB, free: 152.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=121): time 5.079e-06/0.959, allocations: 0 / 1.065 GB, free: 152.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=121): time 0.01309/0.9721, allocations: 3.77 MB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.9722, allocations: 196.8 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.9736, allocations: 0.7329 MB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.9738, allocations: 50.95 kB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.9742, allocations: 0.4892 MB / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.9746, allocations: 401.1 kB / 1.071 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.9747, allocations: 18.94 kB / 1.071 GB, free: 151.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.9748, allocations: 352.2 kB / 1.071 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003553/0.9784, allocations: 1.097 MB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003582/0.982, allocations: 1.239 MB / 1.073 GB, free: 150.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.9853, allocations: 1.078 MB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.9853, allocations: 0 / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007777/0.9931, allocations: 2.534 MB / 1.077 GB, free: 149.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.9932, allocations: 13.92 kB / 1.077 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.9932, allocations: 1.938 kB / 1.077 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/0.9939, allocations: 86.8 kB / 1.077 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/0.9964, allocations: 452.4 kB / 1.077 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.9984, allocations: 1.544 MB / 1.079 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/1.001, allocations: 322.9 kB / 1.079 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/1.001, allocations: 64.16 kB / 1.079 GB, free: 148 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (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.000898/1.002, allocations: 328.4 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/1.002, allocations: 101.8 kB / 1.08 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009632/1.012, allocations: 2.983 MB / 1.083 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/1.012, allocations: 13.75 kB / 1.083 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.012, allocations: 0 / 1.083 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/1.012, allocations: 4.516 kB / 1.083 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/1.023, allocations: 4.799 MB / 1.087 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/1.023, allocations: 0 / 1.087 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/1.025, allocations: 463 kB / 1.088 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000556/1.026, allocations: 91.58 kB / 1.088 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.026, allocations: 43.94 kB / 1.088 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/1.027, allocations: 1.557 MB / 1.089 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.027, allocations: 3.953 kB / 1.089 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/1.034, allocations: 2.726 MB / 1.092 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008207/1.035, allocations: 455.2 kB / 1.092 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/1.035, allocations: 23.95 kB / 1.092 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.037, allocations: 295.6 kB / 1.093 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.038, allocations: 81.19 kB / 1.093 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.038, allocations: 59.95 kB / 1.093 GB, free: 137.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007851/1.039, allocations: 0.5263 MB / 1.093 GB, free: 137.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.039, allocations: 0 / 1.093 GB, free: 137.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00145/1.04, allocations: 449 kB / 1.094 GB, free: 136.7 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 (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.008556/1.049, allocations: 3.768 MB / 1.098 GB, free: 133.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006941/1.056, allocations: 2.596 MB / 1.1 GB, free: 130.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.056, allocations: 0 / 1.1 GB, free: 130.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003552/1.059, allocations: 1.45 MB / 1.101 GB, free: 129.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.061, allocations: 286.6 kB / 1.102 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/1.084, allocations: 9.906 MB / 1.111 GB, free: 118.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/1.085, allocations: 1.153 MB / 1.113 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002083/1.087, allocations: 472.6 kB / 1.113 GB, free: 117 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.088, allocations: 0.5226 MB / 1.114 GB, free: 116.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.034e-06/1.088, allocations: 0 / 1.114 GB, free: 116.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05119/1.14, allocations: 29.92 MB / 1.143 GB, free: 86.84 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/1.14, allocations: 264.6 kB / 1.143 GB, free: 86.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/4.095, allocations: 0 / 1.143 GB, free: 86.49 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)