Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.3 MB / 308.1 MB, free: 4.336 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.001339/0.001339, allocations: 199.6 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 96.58 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3115, allocations: 114.5 MB / 0.9822 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01063/0.3222, allocations: 6.047 MB / 0.9881 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.7904/1.113, allocations: 148.8 MB / 1.133 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/1.114, allocations: 23.19 kB / 1.133 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007511/1.115, allocations: 188.3 kB / 1.134 GB, free: 5.094 MB / 0.7448 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.001963/1.117, allocations: 491.5 kB / 1.134 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/1.12, allocations: 1.093 MB / 1.135 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002336/1.122, allocations: 2.208 MB / 1.137 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/1.124, allocations: 1.464 MB / 1.139 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/1.125, allocations: 0.8778 MB / 1.14 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/1.126, allocations: 1.052 MB / 1.141 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002465/1.126, allocations: 143.2 kB / 1.141 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/1.127, allocations: 452.3 kB / 1.141 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003883/1.128, allocations: 495.2 kB / 1.142 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007552/1.129, allocations: 1.003 MB / 1.143 GB, free: 372 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/1.132, allocations: 2.966 MB / 1.146 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.132, allocations: 2.766 kB / 1.146 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.242e-06/1.132, allocations: 0 / 1.146 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.741e-05/1.132, allocations: 0.8438 kB / 1.146 GB, free: 15.14 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005477/1.137, allocations: 2.522 MB / 1.148 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/1.137, allocations: 9.281 kB / 1.148 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/1.151, allocations: 2.002 MB / 1.15 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/1.154, allocations: 1.187 MB / 1.151 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.154, allocations: 151.4 kB / 1.151 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/1.155, allocations: 200.3 kB / 1.151 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007878/1.163, allocations: 3.039 MB / 1.154 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/1.163, allocations: 0.5625 kB / 1.154 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/1.163, allocations: 84.72 kB / 1.155 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/1.163, allocations: 50.84 kB / 1.155 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/1.174, allocations: 3.951 MB / 1.158 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/1.187, allocations: 6.564 MB / 1.165 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008386/1.196, allocations: 2.726 MB / 1.167 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003913/1.2, allocations: 1.367 MB / 1.169 GB, free: 5.707 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000833/1.201, allocations: 0.5074 MB / 1.169 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004681/1.205, allocations: 1.625 MB / 1.171 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=192): time 7.955e-06/1.205, allocations: 112 / 1.171 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192): time 0.0141/1.22, allocations: 4.024 MB / 1.175 GB, free: 3.227 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.22, allocations: 202 kB / 1.175 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.221, allocations: 0.8365 MB / 1.176 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/1.222, allocations: 61.2 kB / 1.176 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000705/1.222, allocations: 0.6809 MB / 1.177 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007157/1.223, allocations: 0.6233 MB / 1.177 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000894/1.224, allocations: 363.6 kB / 1.178 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.224, allocations: 302.3 kB / 1.178 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00421/1.228, allocations: 1.135 MB / 1.179 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004414/1.233, allocations: 1.303 MB / 1.18 GB, free: 244 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008593/1.241, allocations: 2.381 MB / 1.183 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.242, allocations: 1.406 kB / 1.183 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.01044/1.252, allocations: 2.827 MB / 1.185 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/1.252, allocations: 9.812 kB / 1.185 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.252, allocations: 5.656 kB / 1.185 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006592/1.253, allocations: 85.92 kB / 1.185 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0038/1.257, allocations: 0.5474 MB / 1.186 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/1.259, allocations: 1.53 MB / 1.187 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003413/1.262, allocations: 313.4 kB / 1.188 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000509/1.263, allocations: 95.27 kB / 1.188 GB, free: 12.64 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (212): * Single equations (assignments): 211 * 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.001631/1.265, allocations: 399.4 kB / 1.188 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007785/1.265, allocations: 136.3 kB / 1.188 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/1.281, allocations: 3.354 MB / 1.192 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/1.281, allocations: 20.69 kB / 1.192 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/1.281, allocations: 4 kB / 1.192 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.53e-05/1.281, allocations: 10.03 kB / 1.192 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/1.301, allocations: 5.551 MB / 1.197 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/1.301, allocations: 1.391 kB / 1.197 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004021/1.305, allocations: 0.519 MB / 1.198 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/1.306, allocations: 91.14 kB / 1.198 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006404/1.307, allocations: 66.39 kB / 1.198 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/1.309, allocations: 1.55 MB / 1.199 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.309, allocations: 3.938 kB / 1.199 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/1.329, allocations: 5.198 MB / 1.204 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.331, allocations: 0.4926 MB / 1.205 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009805/1.332, allocations: 46.11 kB / 1.205 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003701/1.336, allocations: 231.6 kB / 1.205 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006929/1.336, allocations: 124.9 kB / 1.205 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007027/1.337, allocations: 83.91 kB / 1.205 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002175/1.339, allocations: 0.6225 MB / 1.206 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.51e-07/1.339, allocations: 0 / 1.206 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004765/1.344, allocations: 0.5694 MB / 1.206 GB, free: 3.828 MB / 0.7761 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.002765/1.347, allocations: 0.6139 MB / 1.207 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.36, allocations: 2.862 MB / 1.21 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.36, allocations: 0 / 1.21 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.007429/1.368, allocations: 1.598 MB / 1.211 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/1.372, allocations: 317.7 kB / 1.212 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.387, allocations: 5.704 MB / 1.217 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/1.389, allocations: 1.408 MB / 1.219 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005208/1.394, allocations: 0.542 MB / 1.219 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/1.396, allocations: 222.3 kB / 1.219 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of SimCode: time 1.072e-06/1.396, allocations: 0 / 1.219 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of Templates: time 0.05571/1.452, allocations: 26.84 MB / 1.246 GB, free: 5.359 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)