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/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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_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.359/1.359, allocations: 252 MB / 267 MB, free: 10.95 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.0012/0.0012, allocations: 186 kB / 326.6 MB, free: 2.188 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.586/1.586, allocations: 205.4 MB / 0.5777 GB, free: 20.18 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.0008046/0.0008044, allocations: 93.03 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003272, allocations: 9.25 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2101, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.004902/0.2151, allocations: 4.177 MB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1441/0.3592, allocations: 136.7 MB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/0.36, allocations: 15.94 kB / 1.038 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.3605, allocations: 138.8 kB / 1.038 GB, free: 2.332 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.001206/0.3617, allocations: 420.4 kB / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.3634, allocations: 0.6944 MB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3647, allocations: 1.438 MB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007393/0.3654, allocations: 0.5515 MB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.366, allocations: 426.2 kB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/0.3665, allocations: 0.4883 MB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.773e-05/0.3666, allocations: 36 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007449/0.3674, allocations: 391.6 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.3676, allocations: 259 kB / 1.043 GB, free: 13.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.3678, allocations: 233 kB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.369, allocations: 1.399 MB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.369, allocations: 0 / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.369, allocations: 0 / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.369, allocations: 0 / 1.044 GB, free: 12 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.002428/0.3715, allocations: 1.387 MB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3715, allocations: 12.03 kB / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/0.3717, allocations: 173.2 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009412/0.3811, allocations: 1.551 MB / 1.047 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.383, allocations: 0.8754 MB / 1.048 GB, free: 7.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.3831, allocations: 82.27 kB / 1.048 GB, free: 7.812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.3833, allocations: 108 kB / 1.048 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004911/0.3882, allocations: 2.046 MB / 1.05 GB, free: 5.594 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3883, allocations: 0 / 1.05 GB, free: 5.594 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.3884, allocations: 55.94 kB / 1.05 GB, free: 5.539 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.3884, allocations: 32 kB / 1.05 GB, free: 5.508 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007651/0.3961, allocations: 2.912 MB / 1.053 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4252/0.8213, allocations: 4.115 MB / 1.057 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00789/0.8292, allocations: 2.819 MB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003246/0.8325, allocations: 1.114 MB / 1.061 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/0.833, allocations: 0.6038 MB / 1.062 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003558/0.8366, allocations: 1.362 MB / 1.063 GB, free: 151.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=120): time 3.005e-06/0.8366, allocations: 0 / 1.063 GB, free: 151.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=120): time 0.01246/0.8491, allocations: 3.543 MB / 1.066 GB, free: 151.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.8492, allocations: 198.9 kB / 1.067 GB, free: 151 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.8504, allocations: 0.6945 MB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.8506, allocations: 50.61 kB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.851, allocations: 459 kB / 1.068 GB, free: 150.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.8513, allocations: 396.2 kB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.8514, allocations: 22.62 kB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.8515, allocations: 345.5 kB / 1.069 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003506/0.855, allocations: 1.015 MB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003496/0.8585, allocations: 1.157 MB / 1.071 GB, free: 149.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/0.8617, allocations: 1.011 MB / 1.072 GB, free: 149.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8617, allocations: 3.797 kB / 1.072 GB, free: 149.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00721/0.8689, allocations: 2.384 MB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.869, allocations: 11.25 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.869, allocations: 1.438 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.8696, allocations: 86.55 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.8721, allocations: 460.8 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.8741, allocations: 1.536 MB / 1.076 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.8764, allocations: 325.9 kB / 1.076 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.8765, allocations: 56.81 kB / 1.076 GB, free: 148.3 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 (126): * Single equations (assignments): 125 * 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.0006679/0.8772, allocations: 308.8 kB / 1.077 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.8774, allocations: 100.3 kB / 1.077 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007857/0.8853, allocations: 2.839 MB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.8853, allocations: 15.83 kB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8853, allocations: 0.6094 kB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.8853, allocations: 7.938 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.8954, allocations: 4.363 MB / 1.084 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.8954, allocations: 3.938 kB / 1.084 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/0.8976, allocations: 460 kB / 1.084 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005149/0.8982, allocations: 91.53 kB / 1.084 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.8983, allocations: 46.28 kB / 1.084 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.8997, allocations: 1.549 MB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8998, allocations: 2.188 kB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00655/0.9063, allocations: 2.578 MB / 1.088 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007034/0.907, allocations: 419.2 kB / 1.089 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/0.9073, allocations: 20 kB / 1.089 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/0.9093, allocations: 291.7 kB / 1.089 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.9095, allocations: 85.19 kB / 1.089 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.9096, allocations: 55.95 kB / 1.089 GB, free: 141 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006929/0.9103, allocations: 0.5029 MB / 1.09 GB, free: 140.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9103, allocations: 0 / 1.09 GB, free: 140.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001238/0.9116, allocations: 440.1 kB / 1.09 GB, free: 140.1 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 (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.008085/0.9197, allocations: 3.626 MB / 1.094 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00662/0.9263, allocations: 2.436 MB / 1.096 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.9264, allocations: 0 / 1.096 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003507/0.9299, allocations: 1.361 MB / 1.097 GB, free: 132.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.9318, allocations: 286.3 kB / 1.098 GB, free: 132.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/0.9552, allocations: 9.277 MB / 1.107 GB, free: 123.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/0.9559, allocations: 1.128 MB / 1.108 GB, free: 122 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002035/0.958, allocations: 472.1 kB / 1.108 GB, free: 121.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000998/0.959, allocations: 0.4953 MB / 1.109 GB, free: 121 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.959, allocations: 0 / 1.109 GB, free: 121 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04336/1.002, allocations: 28.6 MB / 1.137 GB, free: 92.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/1.003, allocations: 284.4 kB / 1.137 GB, free: 92.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/3.922, allocations: 0 / 1.137 GB, free: 92.35 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)