Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.001153/0.001153, allocations: 183.2 kB / 372 MB, free: 10.26 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.796/1.796, allocations: 205.4 MB / 0.6307 GB, free: 9.891 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.000841/0.0008415, allocations: 97.11 kB / 0.744 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004143, allocations: 14.25 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2419, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00455/0.2465, allocations: 3.857 MB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7757/1.022, allocations: 136.5 MB / 1.117 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/1.023, allocations: 19.09 kB / 1.117 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/1.024, allocations: 135.6 kB / 1.117 GB, free: 2.195 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.00168/1.026, allocations: 369.5 kB / 1.117 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/1.028, allocations: 0.605 MB / 1.118 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001997/1.03, allocations: 1.119 MB / 1.119 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/1.031, allocations: 0.6685 MB / 1.12 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009115/1.032, allocations: 336.8 kB / 1.12 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/1.033, allocations: 370.3 kB / 1.12 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/1.033, allocations: 23.12 kB / 1.12 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/1.034, allocations: 268 kB / 1.121 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/1.035, allocations: 191.2 kB / 1.121 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003634/1.035, allocations: 218 kB / 1.121 GB, free: 17.36 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/1.037, allocations: 1.264 MB / 1.122 GB, free: 17.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/1.037, allocations: 1.859 kB / 1.122 GB, free: 17.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.365e-06/1.037, allocations: 0 / 1.122 GB, free: 17.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.962e-05/1.037, allocations: 1.5 kB / 1.122 GB, free: 17.27 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002574/1.039, allocations: 1.311 MB / 1.123 GB, free: 16.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.039, allocations: 13.66 kB / 1.123 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002347/1.04, allocations: 172.2 kB / 1.124 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/1.041, allocations: 222.5 kB / 1.124 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/1.042, allocations: 0.7718 MB / 1.125 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/1.042, allocations: 83.56 kB / 1.125 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/1.042, allocations: 108.3 kB / 1.125 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/1.044, allocations: 1.118 MB / 1.126 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.044, allocations: 0 / 1.126 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.045, allocations: 52.47 kB / 1.126 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/1.045, allocations: 27.75 kB / 1.126 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/1.047, allocations: 1.223 MB / 1.127 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005131/1.052, allocations: 3.003 MB / 1.13 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/1.053, allocations: 0.7711 MB / 1.131 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/1.054, allocations: 294.8 kB / 1.131 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/1.054, allocations: 36.81 kB / 1.131 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/1.055, allocations: 449.5 kB / 1.132 GB, free: 14.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 5.57e-06/1.055, allocations: 0 / 1.132 GB, free: 14.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.003392/1.059, allocations: 1.145 MB / 1.133 GB, free: 14.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/1.059, allocations: 193.4 kB / 1.133 GB, free: 14.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/1.06, allocations: 0.6668 MB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/1.06, allocations: 39.02 kB / 1.134 GB, free: 13.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/1.06, allocations: 497.5 kB / 1.134 GB, free: 13.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/1.061, allocations: 261.6 kB / 1.134 GB, free: 13.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/1.061, allocations: 16.36 kB / 1.134 GB, free: 13.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.061, allocations: 387.2 kB / 1.135 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/1.061, allocations: 238.3 kB / 1.135 GB, free: 13.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/1.062, allocations: 351.5 kB / 1.135 GB, free: 12.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/1.063, allocations: 295.9 kB / 1.136 GB, free: 12.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.063, allocations: 0 / 1.136 GB, free: 12.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00191/1.065, allocations: 0.7899 MB / 1.136 GB, free: 12.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.065, allocations: 5.344 kB / 1.136 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.065, allocations: 5.141 kB / 1.136 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/1.065, allocations: 86.58 kB / 1.136 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007507/1.066, allocations: 152.8 kB / 1.137 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/1.068, allocations: 1.522 MB / 1.138 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007807/1.069, allocations: 88.45 kB / 1.138 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/1.069, allocations: 31.56 kB / 1.138 GB, free: 11.21 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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.0006654/1.07, allocations: 279 kB / 1.138 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/1.07, allocations: 87.19 kB / 1.138 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.072, allocations: 1.046 MB / 1.139 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/1.072, allocations: 9.797 kB / 1.14 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.072, allocations: 0 / 1.14 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.072, allocations: 3.984 kB / 1.14 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/1.074, allocations: 0.9834 MB / 1.14 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.074, allocations: 0 / 1.14 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/1.074, allocations: 151.8 kB / 1.141 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005439/1.075, allocations: 82.66 kB / 1.141 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/1.075, allocations: 23.36 kB / 1.141 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/1.077, allocations: 1.549 MB / 1.142 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.077, allocations: 0 / 1.142 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/1.079, allocations: 0.8938 MB / 1.143 GB, free: 8.586 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/1.08, allocations: 273.7 kB / 1.143 GB, free: 8.398 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.08, allocations: 20.86 kB / 1.143 GB, free: 8.395 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/1.08, allocations: 66.58 kB / 1.143 GB, free: 8.379 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.081, allocations: 65.06 kB / 1.144 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/1.081, allocations: 31.36 kB / 1.144 GB, free: 8.352 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008076/1.081, allocations: 477.8 kB / 1.144 GB, free: 8.188 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/1.081, allocations: 0 / 1.144 GB, free: 8.188 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001137/1.083, allocations: 320.2 kB / 1.144 GB, free: 8.109 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 (89): * Single equations (assignments): 86 * 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.003582/1.086, allocations: 1.891 MB / 1.146 GB, free: 7.172 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001892/1.088, allocations: 0.771 MB / 1.147 GB, free: 6.941 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.088, allocations: 1.156 kB / 1.147 GB, free: 6.941 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.089, allocations: 0.4958 MB / 1.147 GB, free: 6.766 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.091, allocations: 265.3 kB / 1.148 GB, free: 6.695 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/1.104, allocations: 5.412 MB / 1.153 GB, free: 4.234 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009099/1.105, allocations: 1.079 MB / 1.154 GB, free: 3.375 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001179/1.106, allocations: 258.7 kB / 1.154 GB, free: 3.246 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005874/1.106, allocations: 453.5 kB / 1.155 GB, free: 3.188 MB / 0.698 GB Notification: Performance of SimCode: time 1.784e-06/1.106, allocations: 0 / 1.155 GB, free: 3.188 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05268/1.159, allocations: 21.22 MB / 1.175 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/1.159, allocations: 305.3 kB / 1.176 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/4.226, allocations: 0 / 1.176 GB, free: 8.246 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)