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.001092/0.001092, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001033/0.001033, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.259/1.259, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.727/1.727, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001435/0.001435, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1864, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.3017/0.4881, allocations: 6.721 MB / 0.7914 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.6457, allocations: 159 MB / 0.9466 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.6474, allocations: 39.81 kB / 0.9467 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005174/0.6526, allocations: 1.931 MB / 0.9486 GB, free: 2.5 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003028/0.6557, allocations: 1.079 MB / 0.9496 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.6589, allocations: 1.35 MB / 0.9509 GB, free: 84 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005088/0.664, allocations: 5.058 MB / 0.9559 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.6657, allocations: 1.141 MB / 0.957 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.6682, allocations: 1.59 MB / 0.9585 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.6704, allocations: 1.378 MB / 0.9599 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003635/0.6708, allocations: 256 kB / 0.9601 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/0.6741, allocations: 2.251 MB / 0.9623 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002179/0.6763, allocations: 2.801 MB / 0.9651 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.6775, allocations: 1.291 MB / 0.9663 GB, free: 260 kB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004707/0.6822, allocations: 4.849 MB / 0.9711 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.6822, allocations: 4 kB / 0.9711 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6822, allocations: 0 / 0.9711 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.439e-05/0.6822, allocations: 4 kB / 0.9711 GB, free: 11.38 MB / 0.7637 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.004669/0.6869, allocations: 3.2 MB / 0.9742 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6869, allocations: 12.03 kB / 0.9742 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.6881, allocations: 345.4 kB / 0.9745 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006965/0.6951, allocations: 7.4 MB / 0.9818 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/0.6952, allocations: 134.7 kB / 0.9819 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.6954, allocations: 176 kB / 0.9821 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.6981, allocations: 1.847 MB / 0.9839 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.6982, allocations: 8 kB / 0.9839 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.6983, allocations: 60.75 kB / 0.9839 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.6983, allocations: 32 kB / 0.984 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.7011, allocations: 1.895 MB / 0.9858 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.7121, allocations: 9.703 MB / 0.9953 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.7146, allocations: 1.667 MB / 0.9969 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.7159, allocations: 1.039 MB / 0.9979 GB, free: 15.52 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.716, allocations: 36.86 kB / 0.998 GB, free: 15.49 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.7175, allocations: 1.1 MB / 0.999 GB, free: 14.37 MB / 0.795 GB Notification: Performance of pre-optimization done (n=105): time 2.665e-06/0.7175, allocations: 0 / 0.999 GB, free: 14.37 MB / 0.795 GB Notification: Performance of matching and sorting (n=105): time 0.005731/0.7233, allocations: 3.28 MB / 1.002 GB, free: 11.06 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/0.7235, allocations: 342.5 kB / 1.003 GB, free: 10.68 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/0.7366, allocations: 11.51 MB / 1.014 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.7368, allocations: 61.7 kB / 1.014 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008191/0.7376, allocations: 0.925 MB / 1.015 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.7379, allocations: 374.9 kB / 1.015 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002185/0.7401, allocations: 2.652 MB / 1.018 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.7402, allocations: 305.1 kB / 1.018 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01777/0.758, allocations: 20.06 MB / 1.038 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01761/0.7756, allocations: 20.65 MB / 1.058 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02112/0.7967, allocations: 23.5 MB / 1.081 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.7968, allocations: 0 / 1.081 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.04101/0.8378, allocations: 44.11 MB / 1.124 GB, free: 14.14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.838, allocations: 169.9 kB / 1.124 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.838, allocations: 8 kB / 1.124 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.8387, allocations: 80.78 kB / 1.124 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.8402, allocations: 391.4 kB / 1.124 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.8423, allocations: 1.634 MB / 1.126 GB, free: 11.72 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.8441, allocations: 223.6 kB / 1.126 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/0.8445, allocations: 107.9 kB / 1.126 GB, free: 11.4 MB / 0.92 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.001904/0.8464, allocations: 1.518 MB / 1.128 GB, free: 9.863 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004715/0.8469, allocations: 205.3 kB / 1.128 GB, free: 9.66 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/0.8516, allocations: 2.722 MB / 1.131 GB, free: 6.918 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.8517, allocations: 8.016 kB / 1.131 GB, free: 6.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8517, allocations: 1.969 kB / 1.131 GB, free: 6.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008072/0.8525, allocations: 470.1 kB / 1.131 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/0.8529, allocations: 37.48 kB / 1.131 GB, free: 6.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.8538, allocations: 55.95 kB / 1.131 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.854, allocations: 80.88 kB / 1.131 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004328/0.8583, allocations: 2.776 MB / 1.134 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3229/1.181, allocations: 4.025 MB / 1.138 GB, free: 309.2 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001419/1.183, allocations: 1.348 MB / 1.139 GB, free: 309.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005281/1.188, allocations: 7.217 MB / 1.146 GB, free: 308.2 MB / 0.92 GB Notification: Performance of Backend: time 4.61e-07/1.188, allocations: 0 / 1.146 GB, free: 308.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02314/1.211, allocations: 26.69 MB / 1.172 GB, free: 297.2 MB / 0.92 GB Notification: Performance of SimCode: time 0.01353/1.225, allocations: 11.04 MB / 1.183 GB, free: 293.1 MB / 0.92 GB Notification: Performance of Templates: time 0.09007/1.315, allocations: 46.5 MB / 1.229 GB, free: 259.9 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (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)