Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 103.8 kB / 16.36 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.001416/0.001416, allocations: 194.1 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.435/1.435, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.775/1.775, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001599/0.001599, allocations: 71.03 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2206, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.386/0.6066, allocations: 4.108 MB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.7717, allocations: 150.2 MB / 0.9355 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007342/0.7725, allocations: 19.88 kB / 0.9355 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.773, allocations: 162.5 kB / 0.9356 GB, free: 15.55 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.001549/0.7746, allocations: 415.3 kB / 0.936 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.7766, allocations: 0.7581 MB / 0.9368 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.778, allocations: 1.153 MB / 0.9379 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008654/0.7789, allocations: 0.5921 MB / 0.9385 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.7795, allocations: 418.5 kB / 0.9389 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.78, allocations: 430.1 kB / 0.9393 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.7802, allocations: 104 kB / 0.9394 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009639/0.7811, allocations: 387.7 kB / 0.9398 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.7814, allocations: 259.1 kB / 0.94 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.7819, allocations: 485.4 kB / 0.9405 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.7838, allocations: 1.406 MB / 0.9418 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.7839, allocations: 0 / 0.9418 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7839, allocations: 0 / 0.9418 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.7839, allocations: 4 kB / 0.9418 GB, free: 9.191 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002702/0.7866, allocations: 1.282 MB / 0.9431 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.902e-05/0.7867, allocations: 8.031 kB / 0.9431 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009768/0.7877, allocations: 167.5 kB / 0.9433 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.7889, allocations: 0.7228 MB / 0.944 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/0.7889, allocations: 62 kB / 0.944 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.7891, allocations: 72 kB / 0.9441 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.7905, allocations: 0.8411 MB / 0.9449 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.7906, allocations: 0 / 0.9449 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.7906, allocations: 35.98 kB / 0.945 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.7907, allocations: 20 kB / 0.945 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.7924, allocations: 1.046 MB / 0.946 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.7962, allocations: 2.289 MB / 0.9482 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.7975, allocations: 0.7058 MB / 0.9489 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.7979, allocations: 276.2 kB / 0.9492 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.047e-05/0.798, allocations: 24.69 kB / 0.9492 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007572/0.7988, allocations: 425.5 kB / 0.9496 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=71): time 3.627e-06/0.7988, allocations: 0 / 0.9496 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71): time 0.002925/0.8017, allocations: 1.069 MB / 0.9507 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.8019, allocations: 188.6 kB / 0.9508 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.8026, allocations: 0.5617 MB / 0.9514 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/0.8027, allocations: 41.69 kB / 0.9514 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.803, allocations: 364.3 kB / 0.9518 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.8032, allocations: 236.5 kB / 0.952 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.8035, allocations: 150.5 kB / 0.9521 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8036, allocations: 378.8 kB / 0.9525 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.8041, allocations: 229.9 kB / 0.9527 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.8046, allocations: 322.8 kB / 0.953 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009849/0.8056, allocations: 0.5486 MB / 0.9536 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.8056, allocations: 0 / 0.9536 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001741/0.8074, allocations: 0.7626 MB / 0.9543 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.8074, allocations: 8 kB / 0.9543 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.8074, allocations: 8.031 kB / 0.9543 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.808, allocations: 76.77 kB / 0.9544 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.8086, allocations: 151.8 kB / 0.9545 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.8109, allocations: 1.631 MB / 0.9561 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/0.8116, allocations: 72.33 kB / 0.9562 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.8117, allocations: 33.67 kB / 0.9562 GB, free: 9.93 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 (83): * Single equations (assignments): 82 * 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.0004304/0.8121, allocations: 253.6 kB / 0.9565 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.8123, allocations: 75.06 kB / 0.9566 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.8143, allocations: 0.8989 MB / 0.9574 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.8144, allocations: 3.984 kB / 0.9574 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8144, allocations: 0 / 0.9574 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.8147, allocations: 255.8 kB / 0.9577 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.8148, allocations: 19.98 kB / 0.9577 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.8153, allocations: 54.23 kB / 0.9577 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.8155, allocations: 60.91 kB / 0.9578 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001798/0.8173, allocations: 0.842 MB / 0.9586 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001996/0.8193, allocations: 1.254 MB / 0.9599 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005994/0.8199, allocations: 315.9 kB / 0.9602 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005554/0.8204, allocations: 415.1 kB / 0.9605 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of Backend: time 7.11e-07/0.8205, allocations: 0 / 0.9605 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002994/0.8235, allocations: 1.123 MB / 0.9616 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of SimCode: time 0.002888/0.8264, allocations: 1.92 MB / 0.9635 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of Templates: time 0.02358/0.8499, allocations: 14.33 MB / 0.9775 GB, free: 4.555 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)