Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.775/1.775, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.001145/0.001145, allocations: 180.5 kB / 372 MB, free: 10.23 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.703/1.703, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008047/0.0008047, allocations: 83.92 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000601/0.0006014, allocations: 11.91 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2585, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005565/0.2641, allocations: 5.214 MB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8212/1.085, allocations: 137.3 MB / 1.119 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/1.087, allocations: 21.66 kB / 1.119 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006786/1.088, allocations: 171.3 kB / 1.119 GB, free: 2.156 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.002382/1.09, allocations: 470.1 kB / 1.119 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/1.094, allocations: 0.9057 MB / 1.12 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003624/1.097, allocations: 2.013 MB / 1.122 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/1.099, allocations: 1.113 MB / 1.123 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/1.101, allocations: 0.6618 MB / 1.124 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/1.102, allocations: 0.7733 MB / 1.125 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/1.102, allocations: 55.44 kB / 1.125 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/1.103, allocations: 323.2 kB / 1.125 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004175/1.104, allocations: 349.5 kB / 1.126 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005484/1.104, allocations: 352.9 kB / 1.126 GB, free: 16.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002793/1.107, allocations: 2.299 MB / 1.128 GB, free: 16.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/1.107, allocations: 0 / 1.128 GB, free: 16.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.266e-06/1.107, allocations: 3.312 kB / 1.128 GB, free: 16.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.063e-05/1.107, allocations: 0 / 1.128 GB, free: 16.73 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005147/1.112, allocations: 2.078 MB / 1.13 GB, free: 15.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/1.113, allocations: 9.891 kB / 1.13 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004477/1.113, allocations: 291.6 kB / 1.13 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/1.128, allocations: 2.191 MB / 1.133 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/1.131, allocations: 1.141 MB / 1.134 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/1.131, allocations: 164.7 kB / 1.134 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004673/1.132, allocations: 200.8 kB / 1.134 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009497/1.141, allocations: 3.094 MB / 1.137 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/1.141, allocations: 0 / 1.137 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/1.142, allocations: 84.12 kB / 1.137 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/1.142, allocations: 51.31 kB / 1.137 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/1.156, allocations: 4.075 MB / 1.141 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/1.174, allocations: 6.607 MB / 1.148 GB, free: 9.281 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009965/1.184, allocations: 2.737 MB / 1.15 GB, free: 8.723 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00511/1.19, allocations: 1.383 MB / 1.152 GB, free: 8.484 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/1.191, allocations: 0.498 MB / 1.152 GB, free: 7.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006281/1.197, allocations: 1.641 MB / 1.154 GB, free: 7.422 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 1.258e-05/1.197, allocations: 4 kB / 1.154 GB, free: 7.418 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01619/1.213, allocations: 4.036 MB / 1.158 GB, free: 6.469 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.213, allocations: 204.7 kB / 1.158 GB, free: 6.242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/1.215, allocations: 0.8252 MB / 1.159 GB, free: 5.965 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004911/1.216, allocations: 65.73 kB / 1.159 GB, free: 5.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008464/1.217, allocations: 0.6872 MB / 1.159 GB, free: 5.512 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.218, allocations: 0.6277 MB / 1.16 GB, free: 5.047 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/1.218, allocations: 33.25 kB / 1.16 GB, free: 5.047 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002661/1.218, allocations: 366.3 kB / 1.16 GB, free: 4.723 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004519/1.223, allocations: 1.12 MB / 1.161 GB, free: 4.504 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004605/1.228, allocations: 1.306 MB / 1.163 GB, free: 4.145 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004511/1.232, allocations: 1.156 MB / 1.164 GB, free: 3.973 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/1.232, allocations: 4 kB / 1.164 GB, free: 3.969 MB / 0.698 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.01106/1.243, allocations: 2.802 MB / 1.167 GB, free: 2.988 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/1.243, allocations: 4.594 kB / 1.167 GB, free: 2.988 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.243, allocations: 7.109 kB / 1.167 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006871/1.244, allocations: 88.88 kB / 1.167 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/1.248, allocations: 0.5419 MB / 1.167 GB, free: 2.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/1.251, allocations: 1.521 MB / 1.169 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/1.254, allocations: 319.3 kB / 1.169 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007238/1.255, allocations: 86.48 kB / 1.169 GB, free: 1.062 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (204): * Single equations (assignments): 203 * 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.002246/1.257, allocations: 401.9 kB / 1.169 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008924/1.258, allocations: 142 kB / 1.17 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/1.271, allocations: 3.394 MB / 1.173 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/1.272, allocations: 23.33 kB / 1.173 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.272, allocations: 2.719 kB / 1.173 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.244e-05/1.272, allocations: 7.969 kB / 1.173 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/1.288, allocations: 5.569 MB / 1.178 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.288, allocations: 0 / 1.178 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003592/1.292, allocations: 0.5304 MB / 1.179 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006228/1.293, allocations: 90.62 kB / 1.179 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004026/1.293, allocations: 67.92 kB / 1.179 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/1.295, allocations: 1.54 MB / 1.181 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.295, allocations: 0 / 1.181 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.306, allocations: 2.953 MB / 1.183 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.308, allocations: 0.5258 MB / 1.184 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006583/1.308, allocations: 39.98 kB / 1.184 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/1.311, allocations: 247.8 kB / 1.184 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/1.312, allocations: 121.8 kB / 1.184 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003099/1.312, allocations: 87.86 kB / 1.184 GB, free: 4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00147/1.314, allocations: 0.6107 MB / 1.185 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/1.314, allocations: 0 / 1.185 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002519/1.316, allocations: 0.5626 MB / 1.186 GB, free: 2.816 MB / 0.7136 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 (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.01247/1.329, allocations: 4.001 MB / 1.19 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.34, allocations: 2.854 MB / 1.192 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.34, allocations: 0 / 1.192 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006031/1.346, allocations: 1.606 MB / 1.194 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.35, allocations: 317.6 kB / 1.194 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03875/1.388, allocations: 11.5 MB / 1.205 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/1.39, allocations: 1.353 MB / 1.207 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00513/1.395, allocations: 0.5426 MB / 1.207 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002601/1.398, allocations: 0.7959 MB / 1.208 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/1.398, allocations: 0 / 1.208 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08732/1.485, allocations: 37.55 MB / 1.245 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/1.486, allocations: 288.8 kB / 1.245 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.49/4.975, allocations: 0 / 1.245 GB, free: 6.039 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)