Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008163/0.0008163, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.005395/0.005395, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.349/1.349, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.67/1.67, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.000567/0.000567, allocations: 14.16 kB / 0.6743 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2351, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005568/0.2407, allocations: 5.023 MB / 0.7928 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6395/0.8803, allocations: 150.5 MB / 0.9397 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.8814, allocations: 21.06 kB / 0.9397 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004305/0.8858, allocations: 1.606 MB / 0.9413 GB, free: 1.25 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.002256/0.888, allocations: 0.6328 MB / 0.9419 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.8905, allocations: 0.7848 MB / 0.9427 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003025/0.8935, allocations: 2.265 MB / 0.9449 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.8952, allocations: 0.8991 MB / 0.9458 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.8965, allocations: 0.5839 MB / 0.9463 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.8984, allocations: 0.6378 MB / 0.947 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005661/0.899, allocations: 41.2 kB / 0.947 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004956/0.9039, allocations: 1.907 MB / 0.9489 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.9055, allocations: 0.9513 MB / 0.9498 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.9071, allocations: 0.6755 MB / 0.9505 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006704/0.9138, allocations: 3.228 MB / 0.9536 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9138, allocations: 0 / 0.9536 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9138, allocations: 0 / 0.9536 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.792e-05/0.9139, allocations: 1.062 kB / 0.9536 GB, free: 16.2 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.005036/0.919, allocations: 1.85 MB / 0.9554 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.919, allocations: 8.938 kB / 0.9554 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.9206, allocations: 265.9 kB / 0.9557 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004429/0.925, allocations: 2.856 MB / 0.9585 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.9252, allocations: 100.4 kB / 0.9586 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.9256, allocations: 122.8 kB / 0.9587 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.9288, allocations: 1.262 MB / 0.9599 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.9289, allocations: 0 / 0.9599 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.9291, allocations: 52.56 kB / 0.96 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.9291, allocations: 28.88 kB / 0.96 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002868/0.932, allocations: 1.421 MB / 0.9614 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009552/0.9416, allocations: 4.823 MB / 0.9661 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.9438, allocations: 0.999 MB / 0.9671 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007303/0.9446, allocations: 412.1 kB / 0.9675 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.041e-05/0.9447, allocations: 33.81 kB / 0.9675 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.9457, allocations: 0.5664 MB / 0.968 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=88): time 5.441e-06/0.9457, allocations: 6.734 kB / 0.968 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88): time 0.003806/0.9495, allocations: 1.492 MB / 0.9695 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.9497, allocations: 195.1 kB / 0.9697 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/0.955, allocations: 4.026 MB / 0.9736 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002461/0.9553, allocations: 45.33 kB / 0.9737 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006669/0.956, allocations: 0.6165 MB / 0.9743 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/0.9564, allocations: 300.5 kB / 0.9746 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007299/0.9571, allocations: 0.7752 MB / 0.9753 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.9572, allocations: 305.1 kB / 0.9756 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005794/0.963, allocations: 6.296 MB / 0.9818 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006045/0.9691, allocations: 6.534 MB / 0.9881 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007836/0.9769, allocations: 7.397 MB / 0.9954 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.977, allocations: 0 / 0.9954 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0173/0.9943, allocations: 14.07 MB / 1.009 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.9943, allocations: 4 kB / 1.009 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.9944, allocations: 4 kB / 1.009 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006908/0.9951, allocations: 84.86 kB / 1.009 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.9964, allocations: 235.6 kB / 1.009 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.9988, allocations: 1.517 MB / 1.011 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1, allocations: 133.9 kB / 1.011 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002869/1.001, allocations: 55.97 kB / 1.011 GB, free: 0.5898 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (143): * Single equations (assignments): 130 * Array equations: 12 * 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.001327/1.002, allocations: 0.6043 MB / 1.012 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/1.002, allocations: 122.4 kB / 1.012 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/1.006, allocations: 1.347 MB / 1.013 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.006, allocations: 8 kB / 1.013 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.006, allocations: 0 / 1.013 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.006, allocations: 11.91 kB / 1.013 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/1.011, allocations: 2.541 MB / 1.016 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.011, allocations: 0 / 1.016 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/1.012, allocations: 175.8 kB / 1.016 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005644/1.012, allocations: 84.77 kB / 1.016 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/1.012, allocations: 23.98 kB / 1.016 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/1.014, allocations: 1.544 MB / 1.017 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/1.014, allocations: 4.062 kB / 1.017 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/1.017, allocations: 1.207 MB / 1.019 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000708/1.017, allocations: 371 kB / 1.019 GB, free: 8.336 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/1.018, allocations: 16 kB / 1.019 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008622/1.019, allocations: 71.94 kB / 1.019 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.019, allocations: 68.91 kB / 1.019 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/1.019, allocations: 43.98 kB / 1.019 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003035/1.022, allocations: 2.589 MB / 1.022 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.71e-07/1.022, allocations: 0 / 1.022 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003101/1.025, allocations: 0.9439 MB / 1.023 GB, free: 4.602 MB / 0.7637 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 (102): * Single equations (assignments): 99 * 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.003157/1.028, allocations: 0.9068 MB / 1.023 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009305/1.038, allocations: 8.275 MB / 1.032 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.038, allocations: 0 / 1.032 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.039, allocations: 0.6174 MB / 1.032 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/1.041, allocations: 293.6 kB / 1.032 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/1.05, allocations: 5.619 MB / 1.038 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/1.052, allocations: 1.683 MB / 1.04 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001475/1.053, allocations: 369.4 kB / 1.04 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/1.054, allocations: 139.4 kB / 1.04 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of SimCode: time 1.193e-06/1.054, allocations: 0 / 1.04 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of Templates: time 0.04621/1.1, allocations: 25.19 MB / 1.065 GB, free: 9.816 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) Environment - environmentSimulation: