Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 172.1 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 0.578 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007434/0.0007436, allocations: 86.61 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 9.156 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 106.4 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005427/0.2538, allocations: 5.555 MB / 0.9063 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1668/0.4206, allocations: 147.2 MB / 1.05 GB, free: 6.375 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.4223, allocations: 19.88 kB / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009687/0.4233, allocations: 182.4 kB / 1.05 GB, free: 6.176 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.00262/0.4259, allocations: 495.3 kB / 1.051 GB, free: 5.691 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.429, allocations: 1.097 MB / 1.052 GB, free: 4.602 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.4322, allocations: 2.185 MB / 1.054 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.4344, allocations: 1.43 MB / 1.055 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.4358, allocations: 0.6841 MB / 1.056 GB, free: 232 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5527/0.9885, allocations: 0.801 MB / 1.057 GB, free: 4.219 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004898/0.989, allocations: 55.75 kB / 1.057 GB, free: 4.219 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.9902, allocations: 349.6 kB / 1.057 GB, free: 4.219 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.9906, allocations: 351.2 kB / 1.058 GB, free: 4.219 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.9916, allocations: 0.8618 MB / 1.058 GB, free: 4.188 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00397/0.9956, allocations: 2.837 MB / 1.061 GB, free: 4.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.9956, allocations: 1.312 kB / 1.061 GB, free: 4.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9956, allocations: 0 / 1.061 GB, free: 4.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.638e-05/0.9957, allocations: 1.156 kB / 1.061 GB, free: 4.09 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.005073/1.001, allocations: 2.062 MB / 1.063 GB, free: 3.047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.952e-05/1.001, allocations: 8.781 kB / 1.063 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004524/1.001, allocations: 294 kB / 1.063 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/1.017, allocations: 2.188 MB / 1.066 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/1.02, allocations: 1.185 MB / 1.067 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/1.02, allocations: 158.2 kB / 1.067 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004788/1.021, allocations: 201.5 kB / 1.067 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00968/1.03, allocations: 3.105 MB / 1.07 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/1.03, allocations: 1 kB / 1.07 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/1.031, allocations: 91.67 kB / 1.07 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.018e-05/1.031, allocations: 52.58 kB / 1.07 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/1.044, allocations: 4.087 MB / 1.074 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/1.061, allocations: 6.611 MB / 1.081 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008736/1.069, allocations: 2.748 MB / 1.083 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003749/1.073, allocations: 1.384 MB / 1.085 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000769/1.074, allocations: 0.5022 MB / 1.085 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004362/1.078, allocations: 1.648 MB / 1.087 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=192): time 4.629e-06/1.078, allocations: 0 / 1.087 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.01298/1.091, allocations: 4.058 MB / 1.091 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.091, allocations: 201.5 kB / 1.091 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.093, allocations: 0.8443 MB / 1.092 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/1.093, allocations: 55.61 kB / 1.092 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/1.093, allocations: 0.6882 MB / 1.093 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006328/1.094, allocations: 0.6242 MB / 1.093 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/1.094, allocations: 31.44 kB / 1.093 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.094, allocations: 369.3 kB / 1.094 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003552/1.098, allocations: 1.122 MB / 1.095 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/1.102, allocations: 1.316 MB / 1.096 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007216/1.109, allocations: 2.387 MB / 1.098 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1.109, allocations: 3.938 kB / 1.098 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.009202/1.118, allocations: 2.812 MB / 1.101 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/1.118, allocations: 5.719 kB / 1.101 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.118, allocations: 0 / 1.101 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/1.119, allocations: 89.98 kB / 1.101 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/1.122, allocations: 0.5403 MB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/1.125, allocations: 1.533 MB / 1.103 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/1.128, allocations: 319.2 kB / 1.103 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/1.128, allocations: 87.28 kB / 1.104 GB, free: 12.32 MB / 0.7136 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 (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.001475/1.129, allocations: 400.3 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004163/1.13, allocations: 137.3 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.141, allocations: 3.388 MB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/1.141, allocations: 19.56 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/1.141, allocations: 0 / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/1.142, allocations: 7.969 kB / 1.107 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.155, allocations: 5.592 MB / 1.113 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.155, allocations: 0 / 1.113 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003357/1.158, allocations: 0.5243 MB / 1.113 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005364/1.159, allocations: 93.95 kB / 1.113 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/1.159, allocations: 65.3 kB / 1.113 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/1.161, allocations: 1.547 MB / 1.115 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.161, allocations: 1.859 kB / 1.115 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009643/1.171, allocations: 2.958 MB / 1.118 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/1.172, allocations: 0.528 MB / 1.118 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/1.173, allocations: 41.42 kB / 1.118 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.176, allocations: 247 kB / 1.119 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/1.176, allocations: 130.1 kB / 1.119 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/1.176, allocations: 81.14 kB / 1.119 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001398/1.178, allocations: 0.6161 MB / 1.119 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/1.178, allocations: 0 / 1.119 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002314/1.18, allocations: 0.5676 MB / 1.12 GB, free: 6.855 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 (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.01161/1.192, allocations: 4.024 MB / 1.124 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009404/1.201, allocations: 2.854 MB / 1.127 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.201, allocations: 0 / 1.127 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004639/1.206, allocations: 1.613 MB / 1.128 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.208, allocations: 313.1 kB / 1.129 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04542/1.254, allocations: 16.21 MB / 1.144 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.256, allocations: 1.355 MB / 1.146 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004562/1.26, allocations: 0.5465 MB / 1.146 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/1.262, allocations: 0.7959 MB / 1.147 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of SimCode: time 1.403e-06/1.262, allocations: 0 / 1.147 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08124/1.344, allocations: 35.78 MB / 1.182 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/1.344, allocations: 318.5 kB / 1.182 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/4.98, allocations: 2.906 kB / 1.182 GB, free: 1.102 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)