Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001224, allocations: 112.4 kB / 16.38 MB, free: 6.023 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.001311/0.001312, allocations: 193.6 kB / 17.32 MB, free: 5.613 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.847/1.847, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.002427/0.002427, allocations: 71.89 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2519, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.3989/0.6508, allocations: 6.058 MB / 0.7907 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.8176, allocations: 151.1 MB / 0.9383 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009752/0.8186, allocations: 23.88 kB / 0.9383 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.8193, allocations: 249.4 kB / 0.9386 GB, free: 12.57 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001768/0.8211, allocations: 0.5693 MB / 0.9391 GB, free: 12 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.8235, allocations: 1.234 MB / 0.9403 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.8257, allocations: 2.372 MB / 0.9426 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.8274, allocations: 1.513 MB / 0.9441 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.8286, allocations: 1.017 MB / 0.9451 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.8298, allocations: 1.155 MB / 0.9462 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.8301, allocations: 288 kB / 0.9465 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009879/0.8311, allocations: 0.5817 MB / 0.9471 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.8316, allocations: 0.627 MB / 0.9477 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.8327, allocations: 1.139 MB / 0.9488 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.8358, allocations: 3.167 MB / 0.9519 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.8358, allocations: 3.938 kB / 0.9519 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8358, allocations: 0 / 0.9519 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.992e-05/0.8359, allocations: 0 / 0.9519 GB, free: 14.84 MB / 0.7481 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.005052/0.8409, allocations: 2.518 MB / 0.9544 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.841, allocations: 15.97 kB / 0.9544 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.8558, allocations: 2.007 MB / 0.9563 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.858, allocations: 1.2 MB / 0.9575 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.8581, allocations: 156.2 kB / 0.9577 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.8584, allocations: 200 kB / 0.9578 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007897/0.8663, allocations: 3.044 MB / 0.9608 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.8664, allocations: 3.938 kB / 0.9608 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.8666, allocations: 84 kB / 0.9609 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.8667, allocations: 52 kB / 0.961 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.8789, allocations: 3.951 MB / 0.9648 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.8934, allocations: 6.477 MB / 0.9711 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009473/0.903, allocations: 2.724 MB / 0.9738 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/0.9074, allocations: 1.372 MB / 0.9751 GB, free: 6.715 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007879/0.9083, allocations: 0.5035 MB / 0.9756 GB, free: 6.121 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004968/0.9132, allocations: 1.625 MB / 0.9772 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=192): time 5.74e-06/0.9133, allocations: 0 / 0.9772 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of matching and sorting (n=192): time 0.01411/0.9274, allocations: 4.021 MB / 0.9811 GB, free: 440 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.9275, allocations: 203.6 kB / 0.9813 GB, free: 192 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.9288, allocations: 0.8401 MB / 0.9822 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.929, allocations: 57.81 kB / 0.9822 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/0.9296, allocations: 0.6954 MB / 0.9829 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005667/0.9301, allocations: 0.6197 MB / 0.9835 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006678/0.9308, allocations: 359.2 kB / 0.9838 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.9309, allocations: 313.1 kB / 0.9841 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/0.9348, allocations: 1.132 MB / 0.9852 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004027/0.9388, allocations: 1.298 MB / 0.9865 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007909/0.9468, allocations: 2.384 MB / 0.9888 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.9468, allocations: 0 / 0.9888 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.009942/0.9568, allocations: 2.835 MB / 0.9916 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.9568, allocations: 8 kB / 0.9916 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.9568, allocations: 0 / 0.9916 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.9574, allocations: 88.83 kB / 0.9917 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/0.9609, allocations: 0.5461 MB / 0.9922 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.9631, allocations: 1.639 MB / 0.9938 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.966, allocations: 314.3 kB / 0.9941 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.9662, allocations: 92.08 kB / 0.9942 GB, free: 2.738 MB / 0.7794 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.0009057/0.9671, allocations: 401.5 kB / 0.9946 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.9675, allocations: 144.2 kB / 0.9947 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.9783, allocations: 3.279 MB / 0.9979 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.9783, allocations: 7.969 kB / 0.998 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.9783, allocations: 0 / 0.998 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.9794, allocations: 0.4908 MB / 0.9984 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.9797, allocations: 51.09 kB / 0.9985 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/0.9823, allocations: 232.9 kB / 0.9987 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.9826, allocations: 117.8 kB / 0.9988 GB, free: 13.99 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01128/0.9939, allocations: 3.08 MB / 1.002 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0137/1.008, allocations: 4.553 MB / 1.006 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004216/1.012, allocations: 1.366 MB / 1.008 GB, free: 4.965 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009922/1.013, allocations: 0.6224 MB / 1.008 GB, free: 4.332 MB / 0.795 GB Notification: Performance of Backend: time 4.11e-07/1.013, allocations: 0 / 1.008 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007654/1.021, allocations: 2.342 MB / 1.01 GB, free: 2.238 MB / 0.795 GB Notification: Performance of SimCode: time 0.005214/1.026, allocations: 3.22 MB / 1.014 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of Templates: time 0.05887/1.085, allocations: 35.92 MB / 1.049 GB, free: 11.27 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)