Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 251.5 MB / 267.4 MB, free: 10.86 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.0009688/0.0009688, allocations: 180.9 kB / 326.5 MB, free: 2.652 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.606/1.606, allocations: 205 MB / 0.5767 GB, free: 20.91 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.0007754/0.0007754, allocations: 92.38 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003237, allocations: 5.781 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.175, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.003958/0.1791, allocations: 4.189 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1393/0.3184, allocations: 148 MB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005636/0.319, allocations: 19.88 kB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.3195, allocations: 146.9 kB / 1.046 GB, free: 11.21 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.001007/0.3205, allocations: 380.6 kB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3222, allocations: 0.6971 MB / 1.047 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.3234, allocations: 1.211 MB / 1.048 GB, free: 8.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.3245, allocations: 0.8491 MB / 1.049 GB, free: 8.035 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.3251, allocations: 350 kB / 1.049 GB, free: 7.691 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.3255, allocations: 377.6 kB / 1.049 GB, free: 7.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.005e-05/0.3256, allocations: 27.94 kB / 1.049 GB, free: 7.293 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.3263, allocations: 295.7 kB / 1.05 GB, free: 7.004 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.3265, allocations: 195 kB / 1.05 GB, free: 6.812 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.327, allocations: 480.6 kB / 1.05 GB, free: 6.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3284, allocations: 1.58 MB / 1.052 GB, free: 4.754 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3284, allocations: 4 kB / 1.052 GB, free: 4.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3285, allocations: 0 / 1.052 GB, free: 4.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.3285, allocations: 0 / 1.052 GB, free: 4.75 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001907/0.3304, allocations: 1.3 MB / 1.053 GB, free: 3.398 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3304, allocations: 12.03 kB / 1.053 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/0.3313, allocations: 219.1 kB / 1.053 GB, free: 3.172 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009908/0.3323, allocations: 0.8014 MB / 1.054 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.3324, allocations: 82.25 kB / 1.054 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3325, allocations: 112 kB / 1.054 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.3342, allocations: 1.125 MB / 1.055 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.3342, allocations: 0 / 1.055 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.862e-05/0.3343, allocations: 48 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.3343, allocations: 31.94 kB / 1.055 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.339/0.6733, allocations: 1.219 MB / 1.057 GB, free: 160.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/0.6776, allocations: 2.998 MB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.6788, allocations: 0.7784 MB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.6793, allocations: 299.9 kB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.6794, allocations: 34.14 kB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007532/0.6802, allocations: 457.7 kB / 1.061 GB, free: 159.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.316e-06/0.6802, allocations: 0 / 1.061 GB, free: 159.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.002841/0.683, allocations: 1.146 MB / 1.062 GB, free: 159 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.6831, allocations: 194.4 kB / 1.062 GB, free: 158.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.6839, allocations: 0.6689 MB / 1.063 GB, free: 158.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.6839, allocations: 44.27 kB / 1.063 GB, free: 158.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.6843, allocations: 488.5 kB / 1.064 GB, free: 158.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.6844, allocations: 259.8 kB / 1.064 GB, free: 158.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.6846, allocations: 66.06 kB / 1.064 GB, free: 158.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6847, allocations: 386.1 kB / 1.064 GB, free: 157.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.6853, allocations: 264.3 kB / 1.064 GB, free: 157.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/0.6859, allocations: 355.4 kB / 1.065 GB, free: 157.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.687, allocations: 0.6114 MB / 1.065 GB, free: 157.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.687, allocations: 0 / 1.065 GB, free: 157.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002002/0.689, allocations: 0.8519 MB / 1.066 GB, free: 157.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6891, allocations: 6.156 kB / 1.066 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6891, allocations: 4.406 kB / 1.066 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.6897, allocations: 83.22 kB / 1.066 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.6904, allocations: 158.3 kB / 1.066 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.6922, allocations: 1.537 MB / 1.068 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.6928, allocations: 86.88 kB / 1.068 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.6929, allocations: 36.81 kB / 1.068 GB, free: 156.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * 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.0004137/0.6933, allocations: 282.5 kB / 1.068 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.6935, allocations: 84.41 kB / 1.068 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.6959, allocations: 1.038 MB / 1.069 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.696, allocations: 5.734 kB / 1.069 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.696, allocations: 0 / 1.069 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.6963, allocations: 271.2 kB / 1.07 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6964, allocations: 15.27 kB / 1.07 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.6969, allocations: 70.52 kB / 1.07 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.6971, allocations: 66.86 kB / 1.07 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0019/0.699, allocations: 0.9244 MB / 1.071 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002227/0.7012, allocations: 1.35 MB / 1.072 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005832/0.7018, allocations: 343.2 kB / 1.072 GB, free: 154.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005769/0.7024, allocations: 483.9 kB / 1.073 GB, free: 154.5 MB / 0.698 GB Notification: Performance of Backend: time 4.41e-07/0.7024, allocations: 1.203 kB / 1.073 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002797/0.7052, allocations: 1.163 MB / 1.074 GB, free: 154 MB / 0.698 GB Notification: Performance of SimCode: time 0.003105/0.7083, allocations: 2.742 MB / 1.077 GB, free: 152.1 MB / 0.698 GB Notification: Performance of Templates: time 0.02272/0.7311, allocations: 14.73 MB / 1.091 GB, free: 142.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)