Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.676/2.676, allocations: 287.5 MB / 302.4 MB, free: 8.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 186 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009141/0.000914, allocations: 99.58 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006858/0.0006861, allocations: 15.39 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2441, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005791/0.25, allocations: 3.6 MB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9102/1.16, allocations: 136.5 MB / 1.115 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/1.161, allocations: 19.38 kB / 1.115 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007893/1.162, allocations: 130.8 kB / 1.115 GB, free: 1.516 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.002247/1.164, allocations: 349 kB / 1.116 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/1.168, allocations: 0.6083 MB / 1.116 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002461/1.17, allocations: 1.02 MB / 1.117 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/1.172, allocations: 0.5099 MB / 1.118 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/1.173, allocations: 305 kB / 1.118 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000826/1.174, allocations: 320.4 kB / 1.118 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/1.174, allocations: 21.88 kB / 1.118 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/1.175, allocations: 295.9 kB / 1.119 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/1.176, allocations: 165.5 kB / 1.119 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000371/1.176, allocations: 189.1 kB / 1.119 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/1.179, allocations: 1.084 MB / 1.12 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.179, allocations: 1.125 kB / 1.12 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/1.179, allocations: 0 / 1.12 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.026e-05/1.179, allocations: 0 / 1.12 GB, free: 0.7227 MB / 0.6823 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.004061/1.183, allocations: 1.155 MB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.183, allocations: 15.39 kB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/1.185, allocations: 221 kB / 1.121 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/1.188, allocations: 0.6902 MB / 1.122 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/1.188, allocations: 65.67 kB / 1.122 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/1.188, allocations: 85.53 kB / 1.122 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/1.191, allocations: 0.9366 MB / 1.123 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/1.191, allocations: 3.938 kB / 1.123 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/1.191, allocations: 35.47 kB / 1.123 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/1.191, allocations: 29.92 kB / 1.123 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/1.195, allocations: 1.109 MB / 1.124 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007666/1.202, allocations: 2.543 MB / 1.127 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/1.205, allocations: 0.7502 MB / 1.127 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009836/1.206, allocations: 286 kB / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/1.207, allocations: 473.6 kB / 1.128 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/1.209, allocations: 440.5 kB / 1.129 GB, free: 14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 5.39e-06/1.209, allocations: 4 kB / 1.129 GB, free: 14 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005131/1.214, allocations: 1.114 MB / 1.13 GB, free: 13.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/1.214, allocations: 192.8 kB / 1.13 GB, free: 13.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.215, allocations: 0.5793 MB / 1.13 GB, free: 13.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002678/1.215, allocations: 44.83 kB / 1.131 GB, free: 13.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/1.216, allocations: 394.4 kB / 1.131 GB, free: 13.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/1.216, allocations: 246.9 kB / 1.131 GB, free: 13.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/1.216, allocations: 13.16 kB / 1.131 GB, free: 13.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002246/1.217, allocations: 379.1 kB / 1.131 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/1.218, allocations: 242.6 kB / 1.132 GB, free: 12.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.219, allocations: 344.8 kB / 1.132 GB, free: 12.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/1.22, allocations: 290.2 kB / 1.132 GB, free: 12.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.22, allocations: 0 / 1.132 GB, free: 12.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003364/1.223, allocations: 0.804 MB / 1.133 GB, free: 12.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/1.223, allocations: 4.812 kB / 1.133 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.223, allocations: 5.531 kB / 1.133 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009858/1.224, allocations: 79.61 kB / 1.133 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/1.226, allocations: 162.7 kB / 1.133 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/1.229, allocations: 1.512 MB / 1.135 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/1.231, allocations: 90.81 kB / 1.135 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.231, allocations: 35.23 kB / 1.135 GB, free: 11.2 MB / 0.698 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008974/1.232, allocations: 262.5 kB / 1.135 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/1.232, allocations: 83.14 kB / 1.135 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004321/1.236, allocations: 1.02 MB / 1.136 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/1.237, allocations: 15.05 kB / 1.136 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.237, allocations: 1.125 kB / 1.136 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.237, allocations: 2.484 kB / 1.136 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/1.239, allocations: 0.8751 MB / 1.137 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.239, allocations: 0 / 1.137 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.24, allocations: 147 kB / 1.137 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009672/1.241, allocations: 94.03 kB / 1.137 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/1.241, allocations: 20.23 kB / 1.137 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/1.244, allocations: 1.542 MB / 1.139 GB, free: 9.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.244, allocations: 3.953 kB / 1.139 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/1.248, allocations: 0.8609 MB / 1.14 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008546/1.249, allocations: 264.3 kB / 1.14 GB, free: 8.898 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.249, allocations: 26 kB / 1.14 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.25, allocations: 66.33 kB / 1.14 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/1.251, allocations: 62.47 kB / 1.14 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.251, allocations: 30.77 kB / 1.14 GB, free: 8.848 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009595/1.252, allocations: 423 kB / 1.141 GB, free: 8.699 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.252, allocations: 0 / 1.141 GB, free: 8.699 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001731/1.254, allocations: 298.6 kB / 1.141 GB, free: 8.637 MB / 0.698 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 (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/1.256, allocations: 0.5752 MB / 1.141 GB, free: 8.391 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003272/1.259, allocations: 0.7792 MB / 1.142 GB, free: 8.152 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.259, allocations: 1.406 kB / 1.142 GB, free: 8.152 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.261, allocations: 0.4918 MB / 1.143 GB, free: 7.973 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.263, allocations: 242.6 kB / 1.143 GB, free: 7.898 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/1.271, allocations: 2.137 MB / 1.145 GB, free: 6.703 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.272, allocations: 1.011 MB / 1.146 GB, free: 5.883 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001819/1.274, allocations: 263.2 kB / 1.146 GB, free: 5.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/1.275, allocations: 98.89 kB / 1.146 GB, free: 5.727 MB / 0.698 GB Notification: Performance of SimCode: time 1.943e-06/1.275, allocations: 0 / 1.146 GB, free: 5.727 MB / 0.698 GB Notification: Performance of Templates: time 0.04276/1.317, allocations: 12.95 MB / 1.159 GB, free: 15.23 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)