Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009742/0.0009742, allocations: 91.84 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.005959/0.005959, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.338/1.338, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 252 MB / 0.5105 GB, free: 4.707 MB / 414.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.0005536/0.0005539, allocations: 12 kB / 0.6249 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4486, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01176/0.4604, allocations: 6.236 MB / 0.7348 GB, free: 5.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1905/0.6509, allocations: 151.6 MB / 0.8828 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.6526, allocations: 31.81 kB / 0.8828 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005572/0.6582, allocations: 1.783 MB / 0.8846 GB, free: 11.09 MB / 0.7012 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.003127/0.6613, allocations: 0.9923 MB / 0.8856 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.6643, allocations: 1.171 MB / 0.8867 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005408/0.6697, allocations: 5.045 MB / 0.8916 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.6716, allocations: 1.093 MB / 0.8927 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.6739, allocations: 1.214 MB / 0.8939 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.6762, allocations: 1.166 MB / 0.895 GB, free: 360 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006419/0.6768, allocations: 64 kB / 0.8951 GB, free: 296 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.681, allocations: 1.935 MB / 0.897 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002813/0.6838, allocations: 2.57 MB / 0.8995 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002311/0.6861, allocations: 1.057 MB / 0.9005 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007882/0.694, allocations: 4.552 MB / 0.905 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6941, allocations: 7.922 kB / 0.905 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6941, allocations: 0 / 0.905 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001243/0.6942, allocations: 0 / 0.905 GB, free: 6.133 MB / 0.7169 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.006052/0.7002, allocations: 2.671 MB / 0.9076 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.7003, allocations: 8.031 kB / 0.9076 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.7018, allocations: 357.5 kB / 0.9079 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4455/1.147, allocations: 7.345 MB / 0.9151 GB, free: 27.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/1.148, allocations: 130.6 kB / 0.9152 GB, free: 27.89 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/1.148, allocations: 176 kB / 0.9154 GB, free: 27.89 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/1.152, allocations: 1.863 MB / 0.9172 GB, free: 27.65 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/1.152, allocations: 1.031 kB / 0.9172 GB, free: 27.65 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/1.152, allocations: 63.73 kB / 0.9173 GB, free: 27.65 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/1.152, allocations: 33.28 kB / 0.9173 GB, free: 27.65 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00387/1.156, allocations: 1.908 MB / 0.9192 GB, free: 27.64 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/1.169, allocations: 9.84 MB / 0.9288 GB, free: 26.01 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/1.171, allocations: 1.676 MB / 0.9304 GB, free: 25.97 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/1.172, allocations: 1.049 MB / 0.9314 GB, free: 25.95 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.587e-05/1.172, allocations: 33.53 kB / 0.9315 GB, free: 25.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/1.173, allocations: 1.103 MB / 0.9325 GB, free: 25.88 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 2.455e-06/1.173, allocations: 0 / 0.9325 GB, free: 25.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=105): time 0.005439/1.179, allocations: 3.289 MB / 0.9358 GB, free: 25.55 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/1.179, allocations: 346 kB / 0.9361 GB, free: 25.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/1.192, allocations: 11.51 MB / 0.9473 GB, free: 25.03 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005537/1.192, allocations: 67.61 kB / 0.9474 GB, free: 25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00092/1.193, allocations: 0.9343 MB / 0.9483 GB, free: 24.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/1.194, allocations: 366.3 kB / 0.9486 GB, free: 24.46 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/1.195, allocations: 2.351 MB / 0.9509 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/1.195, allocations: 301.1 kB / 0.9512 GB, free: 23.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01546/1.211, allocations: 20.07 MB / 0.9708 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03004/1.241, allocations: 21.76 MB / 0.9921 GB, free: 14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02151/1.262, allocations: 23.51 MB / 1.015 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.267e-05/1.263, allocations: 4 kB / 1.015 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.04392/1.306, allocations: 44.12 MB / 1.058 GB, free: 10.35 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002422/1.307, allocations: 165.6 kB / 1.058 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.307, allocations: 352 / 1.058 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/1.307, allocations: 92.78 kB / 1.058 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/1.31, allocations: 393.5 kB / 1.059 GB, free: 9.723 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/1.312, allocations: 1.53 MB / 1.06 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/1.315, allocations: 227.4 kB / 1.06 GB, free: 7.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/1.315, allocations: 107.9 kB / 1.061 GB, free: 7.75 MB / 0.795 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.00188/1.317, allocations: 1.522 MB / 1.062 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/1.317, allocations: 197.4 kB / 1.062 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/1.322, allocations: 2.812 MB / 1.065 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.322, allocations: 12 kB / 1.065 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/1.322, allocations: 0 / 1.065 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/1.322, allocations: 3.984 kB / 1.065 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006866/1.329, allocations: 4.621 MB / 1.07 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.329, allocations: 0 / 1.07 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/1.329, allocations: 173.5 kB / 1.07 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/1.33, allocations: 92.75 kB / 1.07 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-05/1.33, allocations: 31.98 kB / 1.07 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/1.332, allocations: 1.546 MB / 1.071 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.332, allocations: 6.297 kB / 1.071 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/1.337, allocations: 2.704 MB / 1.074 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008585/1.337, allocations: 0.5252 MB / 1.074 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/1.338, allocations: 24 kB / 1.074 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008573/1.339, allocations: 80.83 kB / 1.075 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.339, allocations: 82.69 kB / 1.075 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.339, allocations: 56.05 kB / 1.075 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00645/1.345, allocations: 7.22 MB / 1.082 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.41e-07/1.345, allocations: 0 / 1.082 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003585/1.349, allocations: 1.302 MB / 1.083 GB, free: 0.6172 MB / 0.8106 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.0022/1.351, allocations: 0.9042 MB / 1.084 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02367/1.375, allocations: 26.66 MB / 1.11 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.375, allocations: 0 / 1.11 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/1.377, allocations: 1.854 MB / 1.112 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/1.379, allocations: 386.1 kB / 1.112 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.395, allocations: 12.48 MB / 1.124 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/1.398, allocations: 2.973 MB / 1.127 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001745/1.399, allocations: 0.5008 MB / 1.128 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/1.4, allocations: 171.4 kB / 1.128 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of SimCode: time 7.42e-07/1.4, allocations: 0 / 1.128 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of Templates: time 0.06976/1.47, allocations: 40.02 MB / 1.167 GB, free: 11.29 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) Environment - environmentSimulation: