Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001547/0.001547, allocations: 183.5 kB / 376.9 MB, free: 1.758 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.75/1.75, allocations: 205 MB / 0.6354 GB, free: 9.766 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.001055/0.001055, allocations: 100.7 kB / 0.748 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 63.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2975, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006834/0.3043, allocations: 4.135 MB / 0.9863 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.8507/1.155, allocations: 147.9 MB / 1.131 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/1.156, allocations: 16.62 kB / 1.131 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005798/1.157, allocations: 128.6 kB / 1.131 GB, free: 7.207 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.001332/1.158, allocations: 350.5 kB / 1.131 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/1.16, allocations: 0.6653 MB / 1.132 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009932/1.161, allocations: 1.08 MB / 1.133 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/1.162, allocations: 0.5711 MB / 1.133 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/1.162, allocations: 357.6 kB / 1.134 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/1.163, allocations: 408 kB / 1.134 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.9e-05/1.163, allocations: 53 kB / 1.134 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/1.164, allocations: 325.2 kB / 1.134 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/1.164, allocations: 202.1 kB / 1.135 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/1.164, allocations: 446.2 kB / 1.135 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/1.165, allocations: 1.313 MB / 1.136 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.165, allocations: 0 / 1.136 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/1.165, allocations: 0 / 1.136 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.165, allocations: 0.5625 kB / 1.136 GB, free: 4.461 MB / 0.7448 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.002042/1.167, allocations: 1.294 MB / 1.138 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.168, allocations: 9.281 kB / 1.138 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008619/1.168, allocations: 171.4 kB / 1.138 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/1.169, allocations: 0.69 MB / 1.138 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/1.169, allocations: 61 kB / 1.139 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/1.169, allocations: 74.22 kB / 1.139 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/1.171, allocations: 0.8358 MB / 1.139 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/1.171, allocations: 15.67 kB / 1.139 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/1.171, allocations: 30.44 kB / 1.139 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/1.171, allocations: 19.16 kB / 1.14 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/1.172, allocations: 1.046 MB / 1.141 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/1.176, allocations: 2.32 MB / 1.143 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/1.177, allocations: 0.7046 MB / 1.143 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/1.177, allocations: 268.9 kB / 1.144 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/1.177, allocations: 30.69 kB / 1.144 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006366/1.178, allocations: 414.8 kB / 1.144 GB, free: 472 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=71): time 2.445e-06/1.178, allocations: 0 / 1.144 GB, free: 472 kB / 0.7448 GB Notification: Performance of matching and sorting (n=71): time 0.002644/1.181, allocations: 1.065 MB / 1.145 GB, free: 12 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/1.181, allocations: 191.1 kB / 1.145 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/1.181, allocations: 0.5655 MB / 1.146 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/1.182, allocations: 40.92 kB / 1.146 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/1.182, allocations: 368.5 kB / 1.146 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/1.182, allocations: 234.2 kB / 1.147 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/1.182, allocations: 156.2 kB / 1.147 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.182, allocations: 375.2 kB / 1.147 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/1.183, allocations: 230.7 kB / 1.147 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/1.183, allocations: 330.9 kB / 1.148 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/1.184, allocations: 0.5465 MB / 1.148 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.184, allocations: 0 / 1.148 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001737/1.186, allocations: 0.7629 MB / 1.149 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.186, allocations: 6.75 kB / 1.149 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.186, allocations: 0 / 1.149 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/1.187, allocations: 85.17 kB / 1.149 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/1.187, allocations: 145.7 kB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/1.19, allocations: 1.509 MB / 1.151 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/1.19, allocations: 84.52 kB / 1.151 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/1.191, allocations: 29.66 kB / 1.151 GB, free: 12.32 MB / 0.7605 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 (83): * Single equations (assignments): 82 * 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.0004442/1.191, allocations: 261.1 kB / 1.151 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.191, allocations: 80.41 kB / 1.151 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/1.193, allocations: 0.9546 MB / 1.152 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.193, allocations: 13.66 kB / 1.152 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/1.193, allocations: 0 / 1.152 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/1.193, allocations: 3.469 kB / 1.152 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009569/1.194, allocations: 0.8169 MB / 1.153 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.194, allocations: 0 / 1.153 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/1.195, allocations: 138.9 kB / 1.153 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/1.195, allocations: 83.27 kB / 1.153 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/1.195, allocations: 25.94 kB / 1.153 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/1.197, allocations: 1.551 MB / 1.155 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.197, allocations: 0.6875 kB / 1.155 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/1.2, allocations: 1.813 MB / 1.156 GB, free: 8.625 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/1.2, allocations: 239.5 kB / 1.157 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/1.2, allocations: 26.22 kB / 1.157 GB, free: 8.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/1.201, allocations: 60.06 kB / 1.157 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.201, allocations: 57.55 kB / 1.157 GB, free: 8.398 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/1.201, allocations: 31.23 kB / 1.157 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005095/1.201, allocations: 415.4 kB / 1.157 GB, free: 8.203 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.202, allocations: 0 / 1.157 GB, free: 8.203 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008497/1.202, allocations: 271.1 kB / 1.157 GB, free: 8.125 MB / 0.7605 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 (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.001333/1.204, allocations: 0.5539 MB / 1.158 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001552/1.205, allocations: 0.7443 MB / 1.159 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.205, allocations: 0 / 1.159 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007976/1.206, allocations: 486.3 kB / 1.159 GB, free: 7.344 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/1.207, allocations: 249.2 kB / 1.159 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/1.212, allocations: 2.422 MB / 1.162 GB, free: 5.797 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/1.212, allocations: 1.015 MB / 1.163 GB, free: 5.074 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000885/1.213, allocations: 253.4 kB / 1.163 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/1.213, allocations: 95.88 kB / 1.163 GB, free: 5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.002e-06/1.213, allocations: 0 / 1.163 GB, free: 5 MB / 0.7605 GB Notification: Performance of Templates: time 0.02252/1.236, allocations: 13.03 MB / 1.176 GB, free: 3.918 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)