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 2.591/2.591, allocations: 252 MB / 267.3 MB, free: 10.84 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.003328/0.003327, allocations: 176.3 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.551/3.551, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.001093/0.001093, allocations: 94.28 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008015/0.0008021, allocations: 8.906 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4291, allocations: 106.4 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009238/0.4384, allocations: 4.559 MB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2868/0.7253, allocations: 146.8 MB / 1.049 GB, free: 7.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.727, allocations: 19.88 kB / 1.049 GB, free: 7.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008471/0.7279, allocations: 150.8 kB / 1.049 GB, free: 7.371 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.003935/0.7319, allocations: 460.7 kB / 1.049 GB, free: 6.922 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.7358, allocations: 0.7987 MB / 1.05 GB, free: 6.133 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003591/0.7394, allocations: 1.667 MB / 1.052 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.7418, allocations: 0.8359 MB / 1.053 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.7434, allocations: 445.8 kB / 1.053 GB, free: 3.141 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.7445, allocations: 0.5129 MB / 1.053 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.7447, allocations: 40 kB / 1.053 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.7466, allocations: 415.6 kB / 1.054 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.7471, allocations: 286.7 kB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.7483, allocations: 0.5878 MB / 1.055 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.9048/1.653, allocations: 1.966 MB / 1.057 GB, free: 5.082 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/1.653, allocations: 0 / 1.057 GB, free: 5.082 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.511e-06/1.653, allocations: 0 / 1.057 GB, free: 5.082 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.219e-05/1.653, allocations: 0 / 1.057 GB, free: 5.082 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.004541/1.658, allocations: 1.438 MB / 1.058 GB, free: 4.301 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/1.658, allocations: 11.91 kB / 1.058 GB, free: 4.301 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004573/1.658, allocations: 189.7 kB / 1.058 GB, free: 4.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/1.673, allocations: 1.563 MB / 1.06 GB, free: 4.121 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/1.677, allocations: 0.9761 MB / 1.061 GB, free: 3.789 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.677, allocations: 97.28 kB / 1.061 GB, free: 3.781 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004963/1.678, allocations: 122.6 kB / 1.061 GB, free: 3.781 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009592/1.688, allocations: 2.222 MB / 1.063 GB, free: 3.574 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/1.688, allocations: 4 kB / 1.063 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/1.688, allocations: 52.84 kB / 1.063 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/1.688, allocations: 30.81 kB / 1.063 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/1.703, allocations: 3.126 MB / 1.066 GB, free: 3.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/1.722, allocations: 4.695 MB / 1.071 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/1.737, allocations: 3.026 MB / 1.074 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005801/1.743, allocations: 1.204 MB / 1.075 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007556/1.744, allocations: 0.6097 MB / 1.076 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007033/1.751, allocations: 1.46 MB / 1.077 GB, free: 1.629 MB / 0.698 GB Notification: Performance of pre-optimization done (n=121): time 6.873e-06/1.751, allocations: 0 / 1.077 GB, free: 1.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=121): time 0.01981/1.771, allocations: 3.778 MB / 1.081 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002675/1.771, allocations: 198.7 kB / 1.081 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/1.773, allocations: 0.752 MB / 1.082 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00062/1.774, allocations: 47.05 kB / 1.082 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007051/1.775, allocations: 492.3 kB / 1.082 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007962/1.776, allocations: 401.8 kB / 1.082 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/1.776, allocations: 21 kB / 1.082 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003126/1.776, allocations: 346 kB / 1.083 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005409/1.782, allocations: 1.103 MB / 1.084 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005162/1.787, allocations: 1.24 MB / 1.085 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009229/1.796, allocations: 2.193 MB / 1.087 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/1.796, allocations: 0 / 1.087 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01356/1.81, allocations: 2.537 MB / 1.09 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/1.81, allocations: 6.375 kB / 1.09 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/1.81, allocations: 128 / 1.09 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009652/1.811, allocations: 90.66 kB / 1.09 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/1.815, allocations: 454.6 kB / 1.09 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/1.818, allocations: 1.545 MB / 1.092 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/1.822, allocations: 322.7 kB / 1.092 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004597/1.823, allocations: 56.2 kB / 1.092 GB, free: 14.38 MB / 0.7136 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 (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.001351/1.824, allocations: 328.8 kB / 1.092 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005267/1.825, allocations: 104.1 kB / 1.093 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/1.838, allocations: 2.978 MB / 1.095 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/1.838, allocations: 14.33 kB / 1.095 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.838, allocations: 6.312 kB / 1.095 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/1.838, allocations: 6.234 kB / 1.095 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/1.855, allocations: 4.795 MB / 1.1 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.855, allocations: 0 / 1.1 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003881/1.859, allocations: 463 kB / 1.101 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007599/1.86, allocations: 91.8 kB / 1.101 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003179/1.86, allocations: 49.66 kB / 1.101 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003515/1.864, allocations: 1.563 MB / 1.102 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.864, allocations: 0 / 1.102 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/1.879, allocations: 2.732 MB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/1.881, allocations: 457.3 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006622/1.882, allocations: 20.67 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/1.885, allocations: 290.3 kB / 1.106 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004244/1.885, allocations: 85.98 kB / 1.106 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000367/1.886, allocations: 60.19 kB / 1.106 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001625/1.887, allocations: 0.5389 MB / 1.106 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.887, allocations: 0 / 1.106 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002592/1.89, allocations: 440.7 kB / 1.107 GB, free: 11.54 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 (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.01677/1.907, allocations: 3.799 MB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.92, allocations: 2.604 MB / 1.113 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.92, allocations: 1.562 kB / 1.113 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.005872/1.926, allocations: 1.448 MB / 1.114 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/1.929, allocations: 288.2 kB / 1.115 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05869/1.987, allocations: 13.81 MB / 1.128 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/1.989, allocations: 1.155 MB / 1.129 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003772/1.993, allocations: 469.6 kB / 1.13 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/1.994, allocations: 0.5279 MB / 1.13 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of SimCode: time 2.004e-06/1.994, allocations: 0 / 1.13 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.657/3.652, allocations: 28.52 MB / 1.158 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004236/3.652, allocations: 280.4 kB / 1.158 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.523/9.175, allocations: 3.938 kB / 1.158 GB, free: 6.199 MB / 0.7448 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)