Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 105.2 kB / 16.36 MB, free: 6.258 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.001587/0.001587, allocations: 191.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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.00144/0.00144, allocations: 71.89 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.232, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.392/0.624, allocations: 4.189 MB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.8051, allocations: 150.3 MB / 0.9356 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008078/0.806, allocations: 19.88 kB / 0.9357 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.8065, allocations: 162.5 kB / 0.9358 GB, free: 15.39 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.001382/0.8079, allocations: 428.2 kB / 0.9362 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.8098, allocations: 0.7878 MB / 0.937 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.8111, allocations: 1.193 MB / 0.9382 GB, free: 13 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009035/0.812, allocations: 0.6584 MB / 0.9388 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.8126, allocations: 458.4 kB / 0.9392 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.8132, allocations: 477.8 kB / 0.9397 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.8133, allocations: 112 kB / 0.9398 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000822/0.8141, allocations: 423.7 kB / 0.9402 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.8144, allocations: 291 kB / 0.9405 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004723/0.8149, allocations: 0.5206 MB / 0.941 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.8166, allocations: 1.503 MB / 0.9425 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8166, allocations: 0.8438 kB / 0.9425 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8167, allocations: 0 / 0.9425 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.8167, allocations: 0 / 0.9425 GB, free: 8.578 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002133/0.8188, allocations: 1.36 MB / 0.9438 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.8189, allocations: 12.03 kB / 0.9438 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.82, allocations: 203.4 kB / 0.944 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.8211, allocations: 0.7461 MB / 0.9447 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.8211, allocations: 66 kB / 0.9448 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.8212, allocations: 83.98 kB / 0.9449 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.8228, allocations: 0.9357 MB / 0.9458 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.8228, allocations: 0 / 0.9458 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.8229, allocations: 40 kB / 0.9458 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.8229, allocations: 20 kB / 0.9458 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.8247, allocations: 1.121 MB / 0.9469 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.8286, allocations: 2.481 MB / 0.9493 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.8301, allocations: 0.7413 MB / 0.9501 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.8306, allocations: 286.7 kB / 0.9503 GB, free: 296 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006781/0.8313, allocations: 470.2 kB / 0.9508 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008249/0.8322, allocations: 439.2 kB / 0.9512 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 2.885e-06/0.8322, allocations: 3.938 kB / 0.9512 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73): time 0.003003/0.8352, allocations: 1.113 MB / 0.9523 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.8353, allocations: 192.5 kB / 0.9525 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/0.8361, allocations: 0.5899 MB / 0.9531 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.081e-05/0.8362, allocations: 37.7 kB / 0.9531 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.8365, allocations: 396.2 kB / 0.9535 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.8368, allocations: 240.5 kB / 0.9537 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.8371, allocations: 154.5 kB / 0.9539 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002443/0.8373, allocations: 386.7 kB / 0.9542 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.8379, allocations: 245.9 kB / 0.9545 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.8385, allocations: 335.1 kB / 0.9548 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.8397, allocations: 0.5772 MB / 0.9553 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.8397, allocations: 0 / 0.9553 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002004/0.8417, allocations: 0.7981 MB / 0.9561 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.8418, allocations: 4 kB / 0.9561 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.8418, allocations: 0 / 0.9561 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.8424, allocations: 90.58 kB / 0.9562 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.843, allocations: 147.8 kB / 0.9564 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.8453, allocations: 1.63 MB / 0.9579 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.8461, allocations: 83.36 kB / 0.958 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/0.8462, allocations: 35.97 kB / 0.9581 GB, free: 7.988 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 (84): * Single equations (assignments): 83 * 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.0005827/0.8468, allocations: 257.8 kB / 0.9583 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.847, allocations: 79 kB / 0.9584 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.8493, allocations: 0.9512 MB / 0.9593 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.8494, allocations: 3.984 kB / 0.9593 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8494, allocations: 0 / 0.9593 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.8498, allocations: 251.8 kB / 0.9596 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.8499, allocations: 23.98 kB / 0.9596 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.8504, allocations: 55.89 kB / 0.9596 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.8506, allocations: 57.75 kB / 0.9597 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00194/0.8525, allocations: 0.8927 MB / 0.9606 GB, free: 5.383 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002164/0.8547, allocations: 1.297 MB / 0.9618 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006272/0.8553, allocations: 329.7 kB / 0.9621 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000723/0.8561, allocations: 431 kB / 0.9625 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of Backend: time 8.12e-07/0.8561, allocations: 4 kB / 0.9626 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003506/0.8596, allocations: 1.146 MB / 0.9637 GB, free: 2.438 MB / 0.7481 GB Notification: Performance of SimCode: time 0.003304/0.8629, allocations: 2.011 MB / 0.9656 GB, free: 412 kB / 0.7481 GB Notification: Performance of Templates: time 0.02637/0.8893, allocations: 14.97 MB / 0.9803 GB, free: 1.648 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)