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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 191.8 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205 MB / 0.6353 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 99.98 kB / 0.748 GB, free: 61.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 52.11 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2986, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008928/0.3076, allocations: 6.691 MB / 0.9888 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.637/0.9447, allocations: 157 MB / 1.142 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.9462, allocations: 35.22 kB / 1.142 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005132/0.9514, allocations: 1.776 MB / 1.144 GB, free: 14.74 MB / 0.7605 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.003064/0.9545, allocations: 0.9909 MB / 1.145 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.9578, allocations: 1.182 MB / 1.146 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.005512/0.9633, allocations: 5.067 MB / 1.151 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.9651, allocations: 1.104 MB / 1.152 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.9679, allocations: 1.381 MB / 1.153 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.9703, allocations: 1.343 MB / 1.155 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.9707, allocations: 124.2 kB / 1.155 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.9744, allocations: 1.994 MB / 1.157 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.002159/0.9765, allocations: 2.661 MB / 1.159 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.9781, allocations: 1.156 MB / 1.16 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.009244/0.9874, allocations: 4.653 MB / 1.165 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.85e-05/0.9874, allocations: 7.5 kB / 1.165 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9875, allocations: 7.938 kB / 1.165 GB, free: 6.34 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001277/0.9876, allocations: 0 / 1.165 GB, free: 6.34 MB / 0.7605 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.007868/0.9955, allocations: 3.192 MB / 1.168 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.9955, allocations: 13.16 kB / 1.168 GB, free: 4.363 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.9969, allocations: 345.6 kB / 1.168 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/1.007, allocations: 7.356 MB / 1.176 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/1.007, allocations: 130.1 kB / 1.176 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/1.008, allocations: 175.2 kB / 1.176 GB, free: 1.594 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/1.011, allocations: 1.856 MB / 1.178 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/1.011, allocations: 5.344 kB / 1.178 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/1.012, allocations: 59.56 kB / 1.178 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/1.012, allocations: 34.38 kB / 1.178 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/1.015, allocations: 1.894 MB / 1.18 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/1.032, allocations: 9.778 MB / 1.189 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/1.035, allocations: 1.661 MB / 1.191 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/1.037, allocations: 1.044 MB / 1.192 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/1.037, allocations: 35.38 kB / 1.192 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/1.038, allocations: 1.107 MB / 1.193 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=105): time 3.617e-06/1.038, allocations: 0 / 1.193 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=105): time 0.007197/1.046, allocations: 3.27 MB / 1.196 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002661/1.046, allocations: 340.2 kB / 1.197 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01805/1.064, allocations: 11.51 MB / 1.208 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0006101/1.065, allocations: 64.05 kB / 1.208 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.066, allocations: 0.9317 MB / 1.209 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007475/1.067, allocations: 366 kB / 1.209 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004626/1.072, allocations: 2.649 MB / 1.212 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.072, allocations: 309.9 kB / 1.212 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02181/1.094, allocations: 20.07 MB / 1.232 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02378/1.118, allocations: 20.66 MB / 1.252 GB, free: 12.37 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02473/1.142, allocations: 23.49 MB / 1.275 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/1.143, allocations: 0 / 1.275 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.04629/1.189, allocations: 44.12 MB / 1.318 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/1.189, allocations: 158.4 kB / 1.318 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/1.189, allocations: 4 kB / 1.318 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/1.19, allocations: 93.11 kB / 1.318 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/1.192, allocations: 387.4 kB / 1.318 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/1.194, allocations: 1.542 MB / 1.32 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/1.196, allocations: 218.3 kB / 1.32 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/1.196, allocations: 108 kB / 1.32 GB, free: 8.949 MB / 0.8855 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.001987/1.198, allocations: 1.514 MB / 1.322 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004982/1.199, allocations: 197.4 kB / 1.322 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004914/1.204, allocations: 2.787 MB / 1.325 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.204, allocations: 12 kB / 1.325 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/1.204, allocations: 4 kB / 1.325 GB, free: 4.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.204, allocations: 7.969 kB / 1.325 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007941/1.212, allocations: 4.61 MB / 1.329 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.212, allocations: 4.656 kB / 1.329 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/1.212, allocations: 175.7 kB / 1.329 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/1.213, allocations: 82.22 kB / 1.329 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.213, allocations: 43.89 kB / 1.329 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/1.215, allocations: 1.545 MB / 1.331 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.215, allocations: 0.5469 kB / 1.331 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007421/1.222, allocations: 4.929 MB / 1.336 GB, free: 8.723 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009714/1.223, allocations: 467.1 kB / 1.336 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/1.224, allocations: 27.94 kB / 1.336 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009063/1.225, allocations: 64.94 kB / 1.336 GB, free: 8.156 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/1.225, allocations: 80.89 kB / 1.336 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.225, allocations: 59.95 kB / 1.336 GB, free: 8.02 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.006851/1.232, allocations: 7.212 MB / 1.343 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/1.232, allocations: 0 / 1.343 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003993/1.236, allocations: 1.315 MB / 1.345 GB, free: 15.47 MB / 0.9167 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.002582/1.238, allocations: 0.9205 MB / 1.346 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0256/1.264, allocations: 26.64 MB / 1.372 GB, free: 4.047 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.352e-05/1.264, allocations: 8.062 kB / 1.372 GB, free: 4.039 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002697/1.267, allocations: 1.847 MB / 1.373 GB, free: 2.164 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/1.269, allocations: 374.4 kB / 1.374 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.435/1.704, allocations: 12.98 MB / 1.386 GB, free: 284.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004694/1.709, allocations: 3.004 MB / 1.389 GB, free: 283.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002212/1.711, allocations: 0.5027 MB / 1.39 GB, free: 283.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/1.712, allocations: 177.3 kB / 1.39 GB, free: 283.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.222e-06/1.712, allocations: 0.5625 kB / 1.39 GB, free: 283.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.09917/1.811, allocations: 44.77 MB / 1.434 GB, free: 281 MB / 0.9323 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)