Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007353/0.0007352, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004277/0.004277, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.507/1.507, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005292, allocations: 15.25 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1931, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006668/0.1998, allocations: 6.229 MB / 0.7941 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6052/0.805, allocations: 151.5 MB / 0.9421 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.8062, allocations: 30.59 kB / 0.9421 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004189/0.8104, allocations: 1.79 MB / 0.9438 GB, free: 1.094 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.002886/0.8133, allocations: 0.9938 MB / 0.9448 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.8166, allocations: 1.179 MB / 0.946 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006321/0.823, allocations: 5.039 MB / 0.9509 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.8248, allocations: 1.086 MB / 0.952 GB, free: 256 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.8276, allocations: 1.214 MB / 0.9531 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.8303, allocations: 1.162 MB / 0.9543 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.8306, allocations: 63.41 kB / 0.9543 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/0.8346, allocations: 1.933 MB / 0.9562 GB, free: 44 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00266/0.8373, allocations: 2.757 MB / 0.9589 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003164/0.8405, allocations: 2.328 MB / 0.9612 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.013/0.8535, allocations: 10.04 MB / 0.971 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.8535, allocations: 3.938 kB / 0.971 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.907e-06/0.8536, allocations: 0 / 0.971 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001639/0.8537, allocations: 0 / 0.971 GB, free: 10.88 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.01574/0.8695, allocations: 6.553 MB / 0.9774 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/0.8696, allocations: 7.719 kB / 0.9774 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006363/0.8702, allocations: 210.7 kB / 0.9776 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/0.8733, allocations: 0.5942 MB / 0.9782 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2595/1.133, allocations: 275.9 MB / 1.248 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/1.133, allocations: 134.7 kB / 1.248 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000559/1.134, allocations: 176 kB / 1.248 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/1.137, allocations: 1.859 MB / 1.25 GB, free: 16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/1.137, allocations: 7.938 kB / 1.25 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/1.137, allocations: 60 kB / 1.25 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/1.137, allocations: 36 kB / 1.25 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/1.14, allocations: 1.899 MB / 1.252 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4911/1.632, allocations: 69.59 MB / 1.32 GB, free: 399.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/1.634, allocations: 1.659 MB / 1.321 GB, free: 397.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/1.635, allocations: 1.045 MB / 1.322 GB, free: 396.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.87e-05/1.635, allocations: 41.05 kB / 1.322 GB, free: 396.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/1.637, allocations: 1.108 MB / 1.323 GB, free: 395.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=105): time 2.966e-06/1.637, allocations: 3.125 kB / 1.323 GB, free: 395.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=105): time 0.007055/1.644, allocations: 3.527 MB / 1.327 GB, free: 392.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/1.644, allocations: 344.2 kB / 1.327 GB, free: 392.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2681/1.912, allocations: 315.9 MB / 1.636 GB, free: 78 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003771/1.912, allocations: 61.7 kB / 1.636 GB, free: 77.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.003083/1.915, allocations: 2.201 MB / 1.638 GB, free: 75.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000416/1.916, allocations: 356.6 kB / 1.638 GB, free: 75.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004572/1.916, allocations: 205.6 kB / 1.638 GB, free: 75.26 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.787e-05/1.916, allocations: 311.5 kB / 1.639 GB, free: 74.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/1.918, allocations: 1.48 MB / 1.64 GB, free: 73.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/1.92, allocations: 1.791 MB / 1.642 GB, free: 71.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/1.924, allocations: 3.167 MB / 1.645 GB, free: 68.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.924, allocations: 4 kB / 1.645 GB, free: 68.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.007239/1.931, allocations: 4.176 MB / 1.649 GB, free: 64.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/1.931, allocations: 165.6 kB / 1.649 GB, free: 64.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.931, allocations: 4 kB / 1.649 GB, free: 64.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/1.932, allocations: 100.6 kB / 1.649 GB, free: 63.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.933, allocations: 369.7 kB / 1.65 GB, free: 63.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/1.935, allocations: 1.531 MB / 1.651 GB, free: 61.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/1.938, allocations: 0.62 MB / 1.652 GB, free: 61.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/1.939, allocations: 83.41 kB / 1.652 GB, free: 61.2 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (214): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 1 * 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.002921/1.942, allocations: 2.15 MB / 1.654 GB, free: 59.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/1.943, allocations: 450 kB / 1.654 GB, free: 58.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005128/1.949, allocations: 3.237 MB / 1.658 GB, free: 55.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.949, allocations: 16 kB / 1.658 GB, free: 55.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.949, allocations: 0 / 1.658 GB, free: 55.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/1.949, allocations: 3.984 kB / 1.658 GB, free: 55.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/1.961, allocations: 7.972 MB / 1.665 GB, free: 47.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.961, allocations: 0 / 1.665 GB, free: 47.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/1.962, allocations: 175.8 kB / 1.666 GB, free: 47.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/1.963, allocations: 84.78 kB / 1.666 GB, free: 47.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/1.963, allocations: 35.56 kB / 1.666 GB, free: 47.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/1.964, allocations: 1.557 MB / 1.667 GB, free: 45.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.964, allocations: 0 / 1.667 GB, free: 45.35 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/1.969, allocations: 2.96 MB / 1.67 GB, free: 42.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003108/1.972, allocations: 1.763 MB / 1.672 GB, free: 40.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/1.974, allocations: 27.98 kB / 1.672 GB, free: 40.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/1.977, allocations: 412 kB / 1.672 GB, free: 40.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/1.977, allocations: 80.89 kB / 1.672 GB, free: 40.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.755e-05/1.977, allocations: 56.09 kB / 1.672 GB, free: 40 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.4961/2.473, allocations: 251.5 MB / 1.918 GB, free: 227.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.91e-07/2.473, allocations: 0 / 1.918 GB, free: 227.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004745/2.478, allocations: 1.326 MB / 1.919 GB, free: 226.4 MB / 1.014 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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.00782/2.486, allocations: 4.341 MB / 1.923 GB, free: 222.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00399/2.49, allocations: 4.217 MB / 1.928 GB, free: 218.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/2.49, allocations: 0 / 1.928 GB, free: 218.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/2.491, allocations: 1.85 MB / 1.929 GB, free: 216.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/2.495, allocations: 0.5609 MB / 1.93 GB, free: 216 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.033/4.528, allocations: 1.277 GB / 3.207 GB, free: 198.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/4.531, allocations: 2.972 MB / 3.21 GB, free: 195.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003726/4.535, allocations: 1.666 MB / 3.211 GB, free: 193.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003307/4.538, allocations: 2.292 MB / 3.213 GB, free: 191.6 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/4.538, allocations: 0 / 3.213 GB, free: 191.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.942/6.48, allocations: 217 MB / 3.425 GB, free: 391.5 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/6.481, allocations: 295.1 kB / 3.426 GB, free: 391.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.513/10.99, allocations: 0 / 3.426 GB, free: 391.1 MB / 1.014 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)