Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.000902/0.000902, allocations: 169.1 kB / 326.5 MB, free: 2.691 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.618/1.618, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0008023/0.0008022, allocations: 90.36 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 11.75 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1826, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005341/0.188, allocations: 5.719 MB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1433/0.3314, allocations: 148.8 MB / 1.048 GB, free: 9.086 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.3331, allocations: 23.88 kB / 1.048 GB, free: 9.062 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.3342, allocations: 186.4 kB / 1.048 GB, free: 8.879 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.002269/0.3365, allocations: 491.8 kB / 1.048 GB, free: 8.398 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.3393, allocations: 1.1 MB / 1.049 GB, free: 7.305 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002627/0.342, allocations: 2.189 MB / 1.052 GB, free: 5.105 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.3438, allocations: 1.418 MB / 1.053 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.345, allocations: 0.6841 MB / 1.054 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000994/0.346, allocations: 0.8096 MB / 1.054 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.3462, allocations: 56 kB / 1.054 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000828/0.347, allocations: 347.7 kB / 1.055 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.3473, allocations: 358.2 kB / 1.055 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006772/0.348, allocations: 0.8226 MB / 1.056 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.3925/0.7405, allocations: 2.839 MB / 1.059 GB, free: 6.758 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.7406, allocations: 0 / 1.059 GB, free: 6.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7406, allocations: 0 / 1.059 GB, free: 6.758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.767e-05/0.7407, allocations: 1.562 kB / 1.059 GB, free: 6.758 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.004351/0.745, allocations: 2.05 MB / 1.061 GB, free: 5.723 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.7451, allocations: 8.219 kB / 1.061 GB, free: 5.723 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.759, allocations: 2.191 MB / 1.063 GB, free: 5.527 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.7613, allocations: 1.174 MB / 1.064 GB, free: 5.148 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.7614, allocations: 161.7 kB / 1.064 GB, free: 5.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00039/0.7618, allocations: 198.6 kB / 1.064 GB, free: 5.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008126/0.7699, allocations: 3.112 MB / 1.067 GB, free: 4.863 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.77, allocations: 4.188 kB / 1.067 GB, free: 4.863 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/0.7703, allocations: 89.91 kB / 1.067 GB, free: 4.859 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/0.7703, allocations: 50.94 kB / 1.067 GB, free: 4.859 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.7818, allocations: 4.09 MB / 1.071 GB, free: 4.773 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/0.7951, allocations: 6.607 MB / 1.078 GB, free: 3.523 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007477/0.8026, allocations: 2.748 MB / 1.081 GB, free: 3.406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/0.8061, allocations: 1.385 MB / 1.082 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006162/0.8067, allocations: 0.5071 MB / 1.082 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003844/0.8106, allocations: 1.638 MB / 1.084 GB, free: 2.773 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 4.177e-06/0.8106, allocations: 0 / 1.084 GB, free: 2.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01155/0.8222, allocations: 4.067 MB / 1.088 GB, free: 2.434 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.8223, allocations: 201.6 kB / 1.088 GB, free: 2.215 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009837/0.8232, allocations: 0.8374 MB / 1.089 GB, free: 2.055 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.8234, allocations: 57.95 kB / 1.089 GB, free: 2.023 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.8238, allocations: 0.6905 MB / 1.09 GB, free: 1.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/0.8243, allocations: 0.6206 MB / 1.09 GB, free: 1.273 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.8245, allocations: 134.8 kB / 1.09 GB, free: 1.258 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.584e-05/0.8245, allocations: 301.1 kB / 1.091 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/0.8279, allocations: 1.146 MB / 1.092 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003472/0.8314, allocations: 1.313 MB / 1.093 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006796/0.8382, allocations: 2.41 MB / 1.096 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.8382, allocations: 0 / 1.096 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.008295/0.8465, allocations: 2.865 MB / 1.098 GB, free: 488 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.8465, allocations: 9.688 kB / 1.098 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.8466, allocations: 9.219 kB / 1.098 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/0.8471, allocations: 81.3 kB / 1.098 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.8503, allocations: 0.5548 MB / 1.099 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.8524, allocations: 1.526 MB / 1.1 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.8554, allocations: 326.7 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/0.8558, allocations: 90.34 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (212): * Single equations (assignments): 211 * 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.001347/0.8572, allocations: 400.8 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005959/0.8578, allocations: 140.6 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.8687, allocations: 3.383 MB / 1.105 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/0.8688, allocations: 14.22 kB / 1.105 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8688, allocations: 3.984 kB / 1.105 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.8698, allocations: 0.4907 MB / 1.105 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/0.8703, allocations: 40.58 kB / 1.105 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/0.873, allocations: 245.6 kB / 1.105 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/0.8733, allocations: 123.5 kB / 1.106 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01012/0.8835, allocations: 3.144 MB / 1.109 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0118/0.8953, allocations: 4.582 MB / 1.113 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003586/0.8989, allocations: 1.392 MB / 1.114 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001005/0.8999, allocations: 0.6153 MB / 1.115 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of Backend: time 7.12e-07/0.8999, allocations: 0 / 1.115 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007922/0.9079, allocations: 2.342 MB / 1.117 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of SimCode: time 0.006223/0.9141, allocations: 4.146 MB / 1.121 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of Templates: time 0.05227/0.9664, allocations: 34.02 MB / 1.155 GB, free: 12.71 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)