Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.573/1.573, allocations: 288.4 MB / 303.6 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009312/0.0009311, allocations: 187.3 kB / 372.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007311/0.0007311, allocations: 100.7 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 12.97 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.003524/0.1584, allocations: 4.162 MB / 0.9843 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4465/0.6049, allocations: 136.7 MB / 1.118 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006719/0.6056, allocations: 14.75 kB / 1.118 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.6061, allocations: 135.1 kB / 1.118 GB, free: 2.328 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001363/0.6075, allocations: 435 kB / 1.118 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.6093, allocations: 0.6859 MB / 1.119 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.6109, allocations: 1.475 MB / 1.12 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008804/0.6117, allocations: 0.6835 MB / 1.121 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006349/0.6124, allocations: 429.8 kB / 1.121 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.6128, allocations: 495.9 kB / 1.122 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/0.6129, allocations: 32.19 kB / 1.122 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007109/0.6136, allocations: 393.2 kB / 1.122 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.6139, allocations: 265.6 kB / 1.123 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.6143, allocations: 0.5224 MB / 1.123 GB, free: 17.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.6154, allocations: 1.39 MB / 1.124 GB, free: 17.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6154, allocations: 1.344 kB / 1.124 GB, free: 17.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6154, allocations: 0 / 1.124 GB, free: 17.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.6154, allocations: 4 kB / 1.125 GB, free: 17.16 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.002043/0.6175, allocations: 1.37 MB / 1.126 GB, free: 16.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.6175, allocations: 16.41 kB / 1.126 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.6177, allocations: 174.5 kB / 1.126 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008225/0.6259, allocations: 1.551 MB / 1.128 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.627, allocations: 0.9089 MB / 1.128 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.6271, allocations: 86.64 kB / 1.129 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.6273, allocations: 109.8 kB / 1.129 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004149/0.6314, allocations: 2.046 MB / 1.131 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.6315, allocations: 0 / 1.131 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.6316, allocations: 46.91 kB / 1.131 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.6316, allocations: 25.94 kB / 1.131 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006945/0.6386, allocations: 2.917 MB / 1.134 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006811/0.6454, allocations: 4.132 MB / 1.138 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007243/0.6526, allocations: 2.812 MB / 1.14 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002868/0.6555, allocations: 1.112 MB / 1.141 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.656, allocations: 0.6071 MB / 1.142 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003341/0.6594, allocations: 1.37 MB / 1.143 GB, free: 10.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=120): time 2.766e-06/0.6594, allocations: 0 / 1.143 GB, free: 10.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=120): time 0.01012/0.6695, allocations: 3.541 MB / 1.147 GB, free: 9.762 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.6696, allocations: 202.4 kB / 1.147 GB, free: 9.535 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.6704, allocations: 0.7001 MB / 1.148 GB, free: 9.297 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.6705, allocations: 48.02 kB / 1.148 GB, free: 9.266 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.6708, allocations: 448.9 kB / 1.148 GB, free: 9.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.6711, allocations: 397.9 kB / 1.149 GB, free: 8.734 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.6712, allocations: 23.69 kB / 1.149 GB, free: 8.734 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.6713, allocations: 342.9 kB / 1.149 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/0.6741, allocations: 1.015 MB / 1.15 GB, free: 8.164 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/0.677, allocations: 1.157 MB / 1.151 GB, free: 7.793 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005347/0.6824, allocations: 2.048 MB / 1.153 GB, free: 7.297 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6824, allocations: 0 / 1.153 GB, free: 7.297 MB / 0.698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006176/0.6885, allocations: 2.396 MB / 1.155 GB, free: 6.648 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6886, allocations: 5.719 kB / 1.155 GB, free: 6.648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6886, allocations: 4.094 kB / 1.155 GB, free: 6.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/0.6891, allocations: 78.28 kB / 1.155 GB, free: 6.617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.6912, allocations: 462.2 kB / 1.156 GB, free: 6.473 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.6929, allocations: 1.536 MB / 1.157 GB, free: 5.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.6948, allocations: 321.7 kB / 1.158 GB, free: 4.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.6949, allocations: 62.42 kB / 1.158 GB, free: 4.938 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.0004865/0.6954, allocations: 313.5 kB / 1.158 GB, free: 4.789 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.6955, allocations: 100.2 kB / 1.158 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007014/0.7026, allocations: 2.827 MB / 1.161 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.7026, allocations: 13.31 kB / 1.161 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.7026, allocations: 0 / 1.161 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.7026, allocations: 7.969 kB / 1.161 GB, free: 3.879 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008306/0.7109, allocations: 4.365 MB / 1.165 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7109, allocations: 0 / 1.165 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/0.713, allocations: 462.3 kB / 1.166 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.7135, allocations: 82.84 kB / 1.166 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.7136, allocations: 53.81 kB / 1.166 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.7151, allocations: 1.561 MB / 1.167 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7151, allocations: 2.688 kB / 1.167 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/0.7214, allocations: 2.577 MB / 1.17 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.722, allocations: 416.3 kB / 1.17 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.7221, allocations: 25.7 kB / 1.17 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.7239, allocations: 292.4 kB / 1.17 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.7241, allocations: 84.81 kB / 1.171 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.7242, allocations: 52.83 kB / 1.171 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004899/0.7247, allocations: 0.5076 MB / 1.171 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7247, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009333/0.7256, allocations: 430.8 kB / 1.172 GB, free: 15.44 MB / 0.7136 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.007818/0.7335, allocations: 3.627 MB / 1.175 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006318/0.7398, allocations: 2.433 MB / 1.177 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7398, allocations: 4 kB / 1.177 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003293/0.7431, allocations: 1.359 MB / 1.179 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.7445, allocations: 277.8 kB / 1.179 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/0.7643, allocations: 9.28 MB / 1.188 GB, free: 180 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.765, allocations: 1.128 MB / 1.189 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001588/0.7666, allocations: 466 kB / 1.19 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008852/0.7675, allocations: 0.5031 MB / 1.19 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/0.7675, allocations: 0 / 1.19 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/1.798, allocations: 28.76 MB / 1.218 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/1.799, allocations: 272.5 kB / 1.218 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/4.622, allocations: 0 / 1.218 GB, free: 1.203 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)