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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000773/0.000773, allocations: 90.36 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.00502/0.00502, allocations: 172 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.352/1.352, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.684/1.684, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005036/0.0005036, allocations: 16.59 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.234, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006346/0.2404, allocations: 6.229 MB / 0.794 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6529/0.8933, allocations: 151.5 MB / 0.942 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.8946, allocations: 31.81 kB / 0.942 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004762/0.8994, allocations: 1.793 MB / 0.9437 GB, free: 1.012 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.002877/0.9023, allocations: 0.9871 MB / 0.9447 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.9055, allocations: 1.18 MB / 0.9458 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005901/0.9114, allocations: 5.042 MB / 0.9508 GB, free: 432 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.9131, allocations: 1.082 MB / 0.9518 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.9158, allocations: 1.214 MB / 0.953 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.918, allocations: 1.165 MB / 0.9542 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.9183, allocations: 63.56 kB / 0.9542 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003853/0.9222, allocations: 1.939 MB / 0.9561 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002692/0.9249, allocations: 2.564 MB / 0.9586 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.9269, allocations: 1.058 MB / 0.9596 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009611/0.9365, allocations: 4.557 MB / 0.9641 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9366, allocations: 0 / 0.9641 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.916e-06/0.9366, allocations: 4 kB / 0.9641 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001497/0.9368, allocations: 6.688 kB / 0.9641 GB, free: 14.05 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.007154/0.9439, allocations: 2.671 MB / 0.9667 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.944, allocations: 9.281 kB / 0.9667 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.9457, allocations: 355.4 kB / 0.9671 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008186/0.9539, allocations: 7.349 MB / 0.9742 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.9541, allocations: 129.3 kB / 0.9744 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.9543, allocations: 179.5 kB / 0.9745 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.9572, allocations: 1.857 MB / 0.9763 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.9572, allocations: 3.938 kB / 0.9764 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.9574, allocations: 59.22 kB / 0.9764 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.9574, allocations: 39.5 kB / 0.9764 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.9602, allocations: 1.905 MB / 0.9783 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.9731, allocations: 9.847 MB / 0.9879 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.9756, allocations: 1.677 MB / 0.9896 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.9768, allocations: 1.043 MB / 0.9906 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-05/0.9769, allocations: 38.31 kB / 0.9906 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/0.9784, allocations: 1.111 MB / 0.9917 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=105): time 2.284e-06/0.9784, allocations: 0 / 0.9917 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=105): time 0.00611/0.9846, allocations: 3.285 MB / 0.9949 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002955/0.9849, allocations: 344.8 kB / 0.9952 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/0.9999, allocations: 11.51 MB / 1.006 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005308/1, allocations: 65.7 kB / 1.007 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.002, allocations: 0.9258 MB / 1.007 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005023/1.002, allocations: 369 kB / 1.008 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/1.004, allocations: 2.352 MB / 1.01 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.004, allocations: 305.1 kB / 1.01 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01828/1.023, allocations: 20.07 MB / 1.03 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02009/1.043, allocations: 20.66 MB / 1.05 GB, free: 10.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02141/1.064, allocations: 23.5 MB / 1.073 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/1.064, allocations: 0 / 1.073 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.04417/1.108, allocations: 44.12 MB / 1.116 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002472/1.109, allocations: 169.9 kB / 1.116 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.109, allocations: 8 kB / 1.116 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/1.109, allocations: 88.7 kB / 1.116 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/1.111, allocations: 395.5 kB / 1.117 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/1.113, allocations: 1.532 MB / 1.118 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.116, allocations: 235.9 kB / 1.119 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003486/1.116, allocations: 103.2 kB / 1.119 GB, free: 4.035 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (263): * Single equations (assignments): 225 * Array equations: 36 * 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.002111/1.118, allocations: 1.527 MB / 1.12 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/1.118, allocations: 197.4 kB / 1.12 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/1.123, allocations: 2.797 MB / 1.123 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.123, allocations: 8 kB / 1.123 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.123, allocations: 0 / 1.123 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/1.123, allocations: 11.98 kB / 1.123 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/1.133, allocations: 4.619 MB / 1.128 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.134, allocations: 0 / 1.128 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/1.135, allocations: 175.8 kB / 1.128 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000707/1.135, allocations: 88.7 kB / 1.128 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/1.135, allocations: 34.56 kB / 1.128 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/1.138, allocations: 1.555 MB / 1.129 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.138, allocations: 0 / 1.129 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006885/1.145, allocations: 2.693 MB / 1.132 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.147, allocations: 0.5291 MB / 1.133 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000462/1.147, allocations: 28 kB / 1.133 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.148, allocations: 71.94 kB / 1.133 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/1.149, allocations: 84.83 kB / 1.133 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.149, allocations: 59.25 kB / 1.133 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.01145/1.16, allocations: 7.216 MB / 1.14 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8.12e-07/1.16, allocations: 0 / 1.14 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.007384/1.168, allocations: 1.308 MB / 1.141 GB, free: 12.76 MB / 0.8887 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.004854/1.173, allocations: 0.9029 MB / 1.142 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.03919/1.212, allocations: 26.66 MB / 1.168 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.212, allocations: 0.75 kB / 1.168 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003134/1.215, allocations: 1.845 MB / 1.17 GB, free: 15.51 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/1.218, allocations: 396.7 kB / 1.17 GB, free: 15.13 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.24, allocations: 12.49 MB / 1.182 GB, free: 2.602 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004856/1.245, allocations: 2.969 MB / 1.185 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002212/1.247, allocations: 0.4941 MB / 1.186 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008211/1.248, allocations: 179.4 kB / 1.186 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of SimCode: time 8.92e-07/1.248, allocations: 3.938 kB / 1.186 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.07527/1.323, allocations: 40.01 MB / 1.225 GB, free: 7.141 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) Environment - environmentSimulation: