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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009542/0.0009543, allocations: 168.5 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006785/0.0006785, allocations: 89.19 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003046, allocations: 10.53 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.005355/0.151, allocations: 6.374 MB / 0.903 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.2914, allocations: 157 MB / 1.056 GB, free: 252 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.2929, allocations: 31.81 kB / 1.056 GB, free: 220 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.3453/0.6382, allocations: 1.771 MB / 1.058 GB, free: 2.379 MB / 0.698 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.002355/0.6406, allocations: 1.002 MB / 1.059 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.6433, allocations: 1.18 MB / 1.06 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004803/0.6481, allocations: 5.041 MB / 1.065 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.6499, allocations: 1.085 MB / 1.066 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.6526, allocations: 1.23 MB / 1.067 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.655, allocations: 1.164 MB / 1.068 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.6554, allocations: 62.47 kB / 1.069 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.6592, allocations: 1.932 MB / 1.07 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002404/0.6617, allocations: 2.567 MB / 1.073 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.6631, allocations: 1.028 MB / 1.074 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005797/0.6689, allocations: 4.556 MB / 1.078 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.669, allocations: 0 / 1.078 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.669, allocations: 0 / 1.078 GB, free: 1.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.445e-05/0.669, allocations: 0 / 1.078 GB, free: 1.848 MB / 0.698 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.004395/0.6734, allocations: 2.68 MB / 1.081 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6735, allocations: 7.125 kB / 1.081 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.6747, allocations: 358.1 kB / 1.081 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005762/0.6805, allocations: 7.36 MB / 1.089 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.6805, allocations: 134 kB / 1.089 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.6807, allocations: 175.8 kB / 1.089 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.6831, allocations: 1.86 MB / 1.091 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.6832, allocations: 2.938 kB / 1.091 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.6833, allocations: 55.97 kB / 1.091 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.6833, allocations: 38.7 kB / 1.091 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.6856, allocations: 1.906 MB / 1.093 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.6965, allocations: 9.843 MB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.6987, allocations: 1.669 MB / 1.104 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009899/0.6997, allocations: 1.05 MB / 1.105 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.087e-05/0.6998, allocations: 41.06 kB / 1.105 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/0.701, allocations: 1.098 MB / 1.106 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=105): time 2.816e-06/0.701, allocations: 0 / 1.106 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=105): time 0.005188/0.7062, allocations: 3.291 MB / 1.109 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.7064, allocations: 343.6 kB / 1.11 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/0.7181, allocations: 11.5 MB / 1.121 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004338/0.7186, allocations: 63.52 kB / 1.121 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/0.7193, allocations: 0.9297 MB / 1.122 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.7197, allocations: 375.1 kB / 1.122 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.7213, allocations: 2.339 MB / 1.124 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.7214, allocations: 307.9 kB / 1.125 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01646/0.7378, allocations: 20.07 MB / 1.144 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01775/0.7556, allocations: 20.65 MB / 1.164 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02056/0.7762, allocations: 23.5 MB / 1.187 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/0.7763, allocations: 0 / 1.187 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.04246/0.8187, allocations: 44.12 MB / 1.23 GB, free: 15.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.819, allocations: 165.6 kB / 1.231 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.819, allocations: 4 kB / 1.231 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.8197, allocations: 91.47 kB / 1.231 GB, free: 14.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.8214, allocations: 391.2 kB / 1.231 GB, free: 14.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.8234, allocations: 1.533 MB / 1.233 GB, free: 12.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.8254, allocations: 227.3 kB / 1.233 GB, free: 12.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.8257, allocations: 105.8 kB / 1.233 GB, free: 12.44 MB / 0.823 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.002011/0.8277, allocations: 1.516 MB / 1.234 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.8281, allocations: 201.4 kB / 1.235 GB, free: 10.73 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/0.8326, allocations: 2.81 MB / 1.237 GB, free: 7.914 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.8326, allocations: 7.969 kB / 1.237 GB, free: 7.906 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8327, allocations: 0 / 1.237 GB, free: 7.906 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/0.8334, allocations: 462.1 kB / 1.238 GB, free: 7.434 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.8337, allocations: 28 kB / 1.238 GB, free: 7.406 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/0.8345, allocations: 79.88 kB / 1.238 GB, free: 7.328 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.8347, allocations: 76.89 kB / 1.238 GB, free: 7.254 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003987/0.8387, allocations: 2.81 MB / 1.241 GB, free: 4.438 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005236/0.844, allocations: 4.027 MB / 1.245 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001458/0.8455, allocations: 1.356 MB / 1.246 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00585/0.8513, allocations: 7.212 MB / 1.253 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of Backend: time 3.1e-07/0.8513, allocations: 0 / 1.253 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02513/0.8765, allocations: 26.71 MB / 1.279 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of SimCode: time 0.01455/0.8911, allocations: 12.34 MB / 1.291 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of Templates: time 0.06659/0.9577, allocations: 41.37 MB / 1.332 GB, free: 7.824 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (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)