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.001087/0.001087, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001156/0.001156, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.389/1.389, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.717/1.717, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001466/0.001466, allocations: 67.45 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2766, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009149/0.2858, allocations: 6.699 MB / 0.7894 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7443/1.03, allocations: 156.7 MB / 0.9424 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/1.032, allocations: 32.94 kB / 0.9425 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006083/1.038, allocations: 1.78 MB / 0.9442 GB, free: 4.664 MB / 0.7325 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.004123/1.042, allocations: 1.002 MB / 0.9452 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003786/1.046, allocations: 1.233 MB / 0.9464 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006405/1.053, allocations: 5.059 MB / 0.9513 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/1.055, allocations: 1.141 MB / 0.9524 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004648/1.06, allocations: 1.647 MB / 0.9541 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003564/1.064, allocations: 1.422 MB / 0.9554 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007379/1.064, allocations: 255.4 kB / 0.9557 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006642/1.071, allocations: 2.227 MB / 0.9579 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003829/1.075, allocations: 2.797 MB / 0.9606 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002349/1.077, allocations: 1.286 MB / 0.9618 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/1.09, allocations: 4.78 MB / 0.9665 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.09, allocations: 4 kB / 0.9665 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/1.09, allocations: 1.594 kB / 0.9665 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001688/1.09, allocations: 0 / 0.9665 GB, free: 3.035 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.01091/1.101, allocations: 3.2 MB / 0.9696 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.101, allocations: 13.84 kB / 0.9697 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/1.102, allocations: 344.2 kB / 0.97 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00808/1.11, allocations: 7.364 MB / 0.9772 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/1.11, allocations: 133.3 kB / 0.9773 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/1.111, allocations: 174.1 kB / 0.9775 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/1.114, allocations: 1.853 MB / 0.9793 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/1.114, allocations: 3.375 kB / 0.9793 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/1.114, allocations: 59.16 kB / 0.9793 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/1.114, allocations: 34.62 kB / 0.9794 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/1.116, allocations: 1.894 MB / 0.9812 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/1.131, allocations: 9.765 MB / 0.9908 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/1.135, allocations: 1.674 MB / 0.9924 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/1.136, allocations: 1.042 MB / 0.9934 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/1.136, allocations: 34.48 kB / 0.9934 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/1.138, allocations: 1.105 MB / 0.9945 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=105): time 2.975e-06/1.138, allocations: 0 / 0.9945 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of matching and sorting (n=105): time 0.007259/1.145, allocations: 3.274 MB / 0.9977 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/1.145, allocations: 337.9 kB / 0.998 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01571/1.161, allocations: 11.51 MB / 1.009 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006673/1.162, allocations: 65.7 kB / 1.009 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.163, allocations: 0.9292 MB / 1.01 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008048/1.164, allocations: 367.8 kB / 1.011 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004084/1.168, allocations: 2.654 MB / 1.013 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.169, allocations: 301.1 kB / 1.013 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02002/1.189, allocations: 20.07 MB / 1.033 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02087/1.209, allocations: 20.65 MB / 1.053 GB, free: 2.113 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02289/1.232, allocations: 23.49 MB / 1.076 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/1.232, allocations: 0 / 1.076 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.04572/1.278, allocations: 44.12 MB / 1.119 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002938/1.279, allocations: 165.6 kB / 1.119 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/1.279, allocations: 4.344 kB / 1.119 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/1.279, allocations: 88.78 kB / 1.12 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/1.281, allocations: 391.4 kB / 1.12 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/1.284, allocations: 1.641 MB / 1.121 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/1.288, allocations: 218.4 kB / 1.122 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005843/1.288, allocations: 106.3 kB / 1.122 GB, free: 11.7 MB / 0.8731 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.003194/1.291, allocations: 1.517 MB / 1.123 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006997/1.292, allocations: 205.4 kB / 1.123 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/1.297, allocations: 2.79 MB / 1.126 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.297, allocations: 12.05 kB / 1.126 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.297, allocations: 3.984 kB / 1.126 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/1.297, allocations: 3.984 kB / 1.126 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007917/1.305, allocations: 4.628 MB / 1.131 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.305, allocations: 0 / 1.131 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/1.306, allocations: 175.7 kB / 1.131 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/1.306, allocations: 72.78 kB / 1.131 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/1.306, allocations: 35.97 kB / 1.131 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/1.308, allocations: 1.657 MB / 1.133 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.308, allocations: 8.031 kB / 1.133 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004647/1.313, allocations: 2.693 MB / 1.135 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.314, allocations: 470.1 kB / 1.136 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003911/1.315, allocations: 20 kB / 1.136 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/1.315, allocations: 63.94 kB / 1.136 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.316, allocations: 76.89 kB / 1.136 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/1.316, allocations: 55.98 kB / 1.136 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.006956/1.323, allocations: 7.216 MB / 1.143 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6.31e-07/1.323, allocations: 0 / 1.143 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004442/1.327, allocations: 1.308 MB / 1.144 GB, free: 4.422 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.002809/1.33, allocations: 0.9124 MB / 1.145 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02477/1.355, allocations: 27.12 MB / 1.172 GB, free: 8.574 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.355, allocations: 0 / 1.172 GB, free: 8.574 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/1.358, allocations: 1.846 MB / 1.173 GB, free: 6.707 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/1.36, allocations: 411.9 kB / 1.174 GB, free: 6.324 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.377, allocations: 12.4 MB / 1.186 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/1.38, allocations: 2.965 MB / 1.189 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001962/1.382, allocations: 0.5057 MB / 1.189 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/1.383, allocations: 179.4 kB / 1.189 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/1.383, allocations: 0 / 1.189 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of Templates: time 0.09793/1.481, allocations: 44.9 MB / 1.233 GB, free: 9.543 MB / 0.9825 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)