Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 105.1 kB / 16.37 MB, free: 6.262 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.001307/0.001307, allocations: 192 kB / 17.3 MB, free: 5.848 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.19 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.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001454/0.001454, allocations: 79.02 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2278, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.4075/0.6353, allocations: 4.49 MB / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1755/0.8109, allocations: 150.3 MB / 0.936 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008202/0.8118, allocations: 19.88 kB / 0.936 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006228/0.8125, allocations: 186.2 kB / 0.9362 GB, free: 14.99 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.001723/0.8142, allocations: 450.6 kB / 0.9366 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.8163, allocations: 0.8004 MB / 0.9374 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.8177, allocations: 1.304 MB / 0.9387 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.8188, allocations: 0.9016 MB / 0.9395 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006912/0.8195, allocations: 0.5254 MB / 0.9401 GB, free: 11 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.8201, allocations: 0.5638 MB / 0.9406 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.8203, allocations: 136 kB / 0.9407 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.8212, allocations: 423.7 kB / 0.9411 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.8215, allocations: 340.2 kB / 0.9415 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.8221, allocations: 0.6333 MB / 0.9421 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.824, allocations: 1.756 MB / 0.9438 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.824, allocations: 4 kB / 0.9438 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.824, allocations: 0 / 0.9438 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.824, allocations: 0 / 0.9438 GB, free: 7.152 MB / 0.7325 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.002591/0.8266, allocations: 1.556 MB / 0.9453 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.8267, allocations: 8.031 kB / 0.9453 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.8277, allocations: 215.1 kB / 0.9455 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.829, allocations: 0.817 MB / 0.9463 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.829, allocations: 86.25 kB / 0.9464 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.8292, allocations: 112 kB / 0.9465 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.831, allocations: 1.111 MB / 0.9476 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.831, allocations: 0 / 0.9476 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.8311, allocations: 48 kB / 0.9477 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.8311, allocations: 24 kB / 0.9477 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.8332, allocations: 1.226 MB / 0.9489 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00461/0.8379, allocations: 2.929 MB / 0.9517 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.8392, allocations: 0.7656 MB / 0.9525 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.8397, allocations: 294.7 kB / 0.9528 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.251e-05/0.8398, allocations: 32.8 kB / 0.9528 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007645/0.8406, allocations: 456.5 kB / 0.9532 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=78): time 2.836e-06/0.8406, allocations: 4 kB / 0.9532 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=78): time 0.002987/0.8436, allocations: 1.131 MB / 0.9543 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.8437, allocations: 192.6 kB / 0.9545 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.8445, allocations: 0.6723 MB / 0.9552 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/0.8446, allocations: 41.7 kB / 0.9552 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.845, allocations: 491.7 kB / 0.9557 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.8452, allocations: 260.2 kB / 0.9559 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.8455, allocations: 158.5 kB / 0.9561 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.8457, allocations: 386.7 kB / 0.9565 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.8462, allocations: 261.9 kB / 0.9567 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.8468, allocations: 351.1 kB / 0.957 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.8479, allocations: 0.5955 MB / 0.9576 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.8479, allocations: 4 kB / 0.9576 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001938/0.8498, allocations: 0.8447 MB / 0.9584 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8498, allocations: 5.219 kB / 0.9585 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.8499, allocations: 4 kB / 0.9585 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/0.8505, allocations: 80.88 kB / 0.9585 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.8512, allocations: 159.8 kB / 0.9587 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.8533, allocations: 1.629 MB / 0.9603 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/0.854, allocations: 84.16 kB / 0.9604 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.8541, allocations: 35.97 kB / 0.9604 GB, free: 5.59 MB / 0.7481 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.0005023/0.8546, allocations: 274.7 kB / 0.9607 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.8547, allocations: 90.95 kB / 0.9607 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.8569, allocations: 0.9678 MB / 0.9617 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.8569, allocations: 7.984 kB / 0.9617 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8569, allocations: 0 / 0.9617 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.8572, allocations: 271.7 kB / 0.962 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.8573, allocations: 16 kB / 0.962 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/0.8579, allocations: 48.73 kB / 0.962 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.858, allocations: 60.91 kB / 0.9621 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001948/0.86, allocations: 0.9045 MB / 0.963 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002049/0.862, allocations: 1.35 MB / 0.9643 GB, free: 1.555 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005436/0.8626, allocations: 343.8 kB / 0.9646 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005808/0.8632, allocations: 475 kB / 0.9651 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of Backend: time 5.11e-07/0.8632, allocations: 3.938 kB / 0.9651 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003007/0.8662, allocations: 1.17 MB / 0.9662 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of SimCode: time 0.003255/0.8695, allocations: 2.232 MB / 0.9684 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of Templates: time 0.02716/0.8967, allocations: 15.49 MB / 0.9835 GB, free: 14.33 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)