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.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001873/0.001873, allocations: 191.8 kB / 16.13 MB, free: 6.652 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.512/1.512, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.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.656/1.656, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001328/0.001328, allocations: 66.17 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2441, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005965/0.2501, allocations: 4.512 MB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6602/0.9103, allocations: 148 MB / 0.9316 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008086/0.9112, allocations: 25.25 kB / 0.9316 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.9119, allocations: 145.4 kB / 0.9318 GB, free: 5.301 MB / 0.7325 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.001534/0.9134, allocations: 379.4 kB / 0.9321 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.9155, allocations: 0.6894 MB / 0.9328 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.9174, allocations: 1.216 MB / 0.934 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.9187, allocations: 0.8667 MB / 0.9348 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008779/0.9196, allocations: 471.5 kB / 0.9353 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007889/0.9204, allocations: 0.5304 MB / 0.9358 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.9205, allocations: 82.09 kB / 0.9359 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.9217, allocations: 357.6 kB / 0.9362 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004751/0.9222, allocations: 286.2 kB / 0.9365 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008168/0.923, allocations: 0.5721 MB / 0.937 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.9254, allocations: 1.654 MB / 0.9387 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.9254, allocations: 2.984 kB / 0.9387 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9254, allocations: 0.6562 kB / 0.9387 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.9254, allocations: 0 / 0.9387 GB, free: 4.977 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.003132/0.9286, allocations: 1.55 MB / 0.9402 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.9286, allocations: 7.875 kB / 0.9402 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.9297, allocations: 213.1 kB / 0.9404 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.9308, allocations: 0.7998 MB / 0.9412 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.9308, allocations: 84.56 kB / 0.9412 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.931, allocations: 116.1 kB / 0.9414 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.9329, allocations: 1.111 MB / 0.9424 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.933, allocations: 5.781 kB / 0.9424 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/0.9331, allocations: 49 kB / 0.9425 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.9331, allocations: 27.09 kB / 0.9425 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.9356, allocations: 1.218 MB / 0.9437 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006581/0.9422, allocations: 2.979 MB / 0.9466 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.9442, allocations: 0.7699 MB / 0.9474 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.9449, allocations: 291.7 kB / 0.9476 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/0.945, allocations: 34.59 kB / 0.9477 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.9461, allocations: 456 kB / 0.9481 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=78): time 3.707e-06/0.9461, allocations: 0 / 0.9481 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=78): time 0.003324/0.9494, allocations: 1.138 MB / 0.9492 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.9495, allocations: 194 kB / 0.9494 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.9507, allocations: 0.6636 MB / 0.9501 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.9508, allocations: 39.92 kB / 0.9501 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.9512, allocations: 0.4885 MB / 0.9506 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.9515, allocations: 263 kB / 0.9508 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.9518, allocations: 155.6 kB / 0.951 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.952, allocations: 390.4 kB / 0.9513 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00062/0.9526, allocations: 254.9 kB / 0.9516 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.9534, allocations: 355.1 kB / 0.9519 GB, free: 17.19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.9545, allocations: 0.598 MB / 0.9525 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.9545, allocations: 0 / 0.9525 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002017/0.9565, allocations: 0.8422 MB / 0.9533 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.9565, allocations: 11.95 kB / 0.9533 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.9566, allocations: 0 / 0.9533 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006453/0.9572, allocations: 83.52 kB / 0.9534 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.9579, allocations: 156.6 kB / 0.9536 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.9601, allocations: 1.518 MB / 0.9551 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/0.9609, allocations: 86.62 kB / 0.9551 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/0.961, allocations: 38.31 kB / 0.9552 GB, free: 15.69 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.0006062/0.9616, allocations: 282.1 kB / 0.9554 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.9618, allocations: 88.05 kB / 0.9555 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.9642, allocations: 1.022 MB / 0.9565 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.9642, allocations: 17.69 kB / 0.9565 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9642, allocations: 3.047 kB / 0.9565 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.9642, allocations: 4.172 kB / 0.9566 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.9657, allocations: 0.9798 MB / 0.9575 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.9657, allocations: 0 / 0.9575 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/0.9664, allocations: 147.1 kB / 0.9576 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005297/0.9669, allocations: 83.52 kB / 0.9577 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.967, allocations: 25.19 kB / 0.9578 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.9691, allocations: 1.547 MB / 0.9593 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.9692, allocations: 0 / 0.9593 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.9711, allocations: 0.8894 MB / 0.9601 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.9715, allocations: 264.1 kB / 0.9604 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.9717, allocations: 22.28 kB / 0.9604 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.9722, allocations: 56.92 kB / 0.9605 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.9724, allocations: 60.22 kB / 0.9605 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/0.9725, allocations: 30.33 kB / 0.9605 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000667/0.9732, allocations: 482.2 kB / 0.961 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9732, allocations: 1.203 kB / 0.961 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009971/0.9742, allocations: 323.2 kB / 0.9613 GB, free: 13.39 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.9755, allocations: 0.5715 MB / 0.9619 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.9773, allocations: 0.7985 MB / 0.9627 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9773, allocations: 4.188 kB / 0.9627 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.9782, allocations: 0.4961 MB / 0.9631 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.9795, allocations: 269.3 kB / 0.9634 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.9839, allocations: 2.472 MB / 0.9658 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.9847, allocations: 1.079 MB / 0.9669 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009651/0.9857, allocations: 258.6 kB / 0.9671 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.986, allocations: 103.7 kB / 0.9672 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of SimCode: time 2.074e-06/0.986, allocations: 1.406 kB / 0.9672 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of Templates: time 0.02455/1.011, allocations: 13.56 MB / 0.9805 GB, free: 7.391 MB / 0.7481 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)