Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.581/2.581, allocations: 287.5 MB / 302.4 MB, free: 8.211 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.001447/0.001447, allocations: 197.8 kB / 371 MB, free: 10.86 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.168/2.168, 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.001009/0.001009, allocations: 91.33 kB / 0.743 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006613/0.0006617, allocations: 12.19 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2362, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005645/0.2419, allocations: 3.522 MB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9026/1.145, allocations: 136.4 MB / 1.115 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008449/1.146, allocations: 14.12 kB / 1.115 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006224/1.146, allocations: 129.5 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.001961/1.148, allocations: 335.1 kB / 1.115 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/1.151, allocations: 0.5932 MB / 1.116 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002077/1.153, allocations: 0.9837 MB / 1.117 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/1.154, allocations: 449.5 kB / 1.117 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008175/1.155, allocations: 283 kB / 1.118 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/1.156, allocations: 304.8 kB / 1.118 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/1.156, allocations: 22.34 kB / 1.118 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/1.157, allocations: 263 kB / 1.118 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/1.157, allocations: 166 kB / 1.118 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002659/1.158, allocations: 172.5 kB / 1.119 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/1.16, allocations: 1.008 MB / 1.12 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/1.16, allocations: 0 / 1.12 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.086e-06/1.16, allocations: 5.688 kB / 1.12 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.927e-05/1.16, allocations: 1.312 kB / 1.12 GB, free: 0.7852 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00325/1.163, allocations: 1.092 MB / 1.121 GB, free: 16.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.163, allocations: 12.73 kB / 1.121 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/1.165, allocations: 187.8 kB / 1.121 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/1.167, allocations: 0.672 MB / 1.122 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/1.167, allocations: 58.12 kB / 1.122 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/1.167, allocations: 70.25 kB / 1.122 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/1.169, allocations: 0.8442 MB / 1.122 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.169, allocations: 0 / 1.122 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/1.169, allocations: 32.53 kB / 1.122 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/1.17, allocations: 22.64 kB / 1.123 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/1.172, allocations: 1.046 MB / 1.124 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/1.178, allocations: 2.357 MB / 1.126 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/1.18, allocations: 0.7094 MB / 1.127 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008081/1.181, allocations: 269.1 kB / 1.127 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/1.181, allocations: 31.03 kB / 1.127 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/1.183, allocations: 420 kB / 1.127 GB, free: 14.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 3.587e-06/1.183, allocations: 0 / 1.127 GB, free: 14.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.004715/1.187, allocations: 1.075 MB / 1.128 GB, free: 14.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/1.188, allocations: 188.1 kB / 1.128 GB, free: 14.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.189, allocations: 0.5615 MB / 1.129 GB, free: 14.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/1.189, allocations: 37.7 kB / 1.129 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/1.189, allocations: 364.8 kB / 1.129 GB, free: 13.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/1.19, allocations: 240.6 kB / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/1.19, allocations: 13 kB / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002177/1.19, allocations: 375.7 kB / 1.13 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007783/1.191, allocations: 239.9 kB / 1.13 GB, free: 13.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009084/1.192, allocations: 321.7 kB / 1.131 GB, free: 13.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/1.193, allocations: 281.7 kB / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.193, allocations: 3.344 kB / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002904/1.196, allocations: 0.7587 MB / 1.132 GB, free: 13.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.196, allocations: 15.11 kB / 1.132 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.196, allocations: 4.062 kB / 1.132 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/1.197, allocations: 89.8 kB / 1.132 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.198, allocations: 150.2 kB / 1.132 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/1.201, allocations: 1.503 MB / 1.133 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.202, allocations: 92.69 kB / 1.133 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.202, allocations: 32.67 kB / 1.133 GB, free: 11.86 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 (83): * Single equations (assignments): 82 * 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.0007875/1.203, allocations: 251.6 kB / 1.134 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/1.203, allocations: 79.08 kB / 1.134 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003808/1.207, allocations: 0.9784 MB / 1.135 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/1.207, allocations: 6.594 kB / 1.135 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.207, allocations: 2.656 kB / 1.135 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.207, allocations: 4.641 kB / 1.135 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/1.209, allocations: 0.8187 MB / 1.135 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.209, allocations: 0 / 1.135 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.21, allocations: 140.3 kB / 1.136 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008779/1.211, allocations: 79.44 kB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-05/1.211, allocations: 25 kB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/1.214, allocations: 1.54 MB / 1.137 GB, free: 10.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.214, allocations: 0 / 1.137 GB, free: 10.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/1.218, allocations: 0.8227 MB / 1.138 GB, free: 9.859 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/1.218, allocations: 276.1 kB / 1.138 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.219, allocations: 17.38 kB / 1.138 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009973/1.22, allocations: 62.7 kB / 1.138 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/1.22, allocations: 67.33 kB / 1.138 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.22, allocations: 35.92 kB / 1.138 GB, free: 9.688 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008938/1.221, allocations: 408.8 kB / 1.139 GB, free: 9.586 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.221, allocations: 0 / 1.139 GB, free: 9.586 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001425/1.222, allocations: 262.8 kB / 1.139 GB, free: 9.543 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 (82): * Single equations (assignments): 79 * 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.001791/1.224, allocations: 0.5534 MB / 1.14 GB, free: 9.324 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002701/1.227, allocations: 0.7471 MB / 1.14 GB, free: 9.152 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.227, allocations: 1.344 kB / 1.14 GB, free: 9.152 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/1.228, allocations: 491.3 kB / 1.141 GB, free: 8.965 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.23, allocations: 251.2 kB / 1.141 GB, free: 8.895 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.242, allocations: 1.99 MB / 1.143 GB, free: 7.789 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/1.244, allocations: 0.9834 MB / 1.144 GB, free: 6.977 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003098/1.247, allocations: 251.3 kB / 1.144 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005405/1.247, allocations: 99.3 kB / 1.144 GB, free: 6.828 MB / 0.698 GB Notification: Performance of SimCode: time 1.774e-06/1.247, allocations: 0 / 1.144 GB, free: 6.828 MB / 0.698 GB Notification: Performance of Templates: time 0.0432/1.29, allocations: 12.23 MB / 1.156 GB, free: 0.7109 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)