Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, 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.001061/0.001061, allocations: 174.8 kB / 327 MB, free: 2.102 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.618/1.618, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0009341/0.0009342, allocations: 100.1 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 8.25 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.244, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006075/0.2501, allocations: 4.091 MB / 0.9049 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2677/0.5179, allocations: 146.4 MB / 1.048 GB, free: 8.289 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.5191, allocations: 19.88 kB / 1.048 GB, free: 8.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.5199, allocations: 146.8 kB / 1.048 GB, free: 8.125 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.002155/0.522, allocations: 380.3 kB / 1.048 GB, free: 7.754 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.5254, allocations: 0.691 MB / 1.049 GB, free: 7.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002381/0.5278, allocations: 1.222 MB / 1.05 GB, free: 5.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.5298, allocations: 0.8494 MB / 1.051 GB, free: 4.945 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009484/0.5308, allocations: 350 kB / 1.051 GB, free: 4.602 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008111/0.5316, allocations: 388.1 kB / 1.052 GB, free: 4.223 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.5318, allocations: 24 kB / 1.052 GB, free: 4.199 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.533, allocations: 295.7 kB / 1.052 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.5333, allocations: 191 kB / 1.052 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.5341, allocations: 0.4982 MB / 1.053 GB, free: 3.215 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.5368, allocations: 1.588 MB / 1.054 GB, free: 1.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5368, allocations: 0 / 1.054 GB, free: 1.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.988e-06/0.5368, allocations: 0 / 1.054 GB, free: 1.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.51e-05/0.5368, allocations: 0 / 1.054 GB, free: 1.621 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.003808/0.5407, allocations: 1.3 MB / 1.056 GB, free: 276 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.5407, allocations: 12.03 kB / 1.056 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003312/0.5411, allocations: 169.3 kB / 1.056 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4836/1.025, allocations: 217.5 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/1.026, allocations: 0.801 MB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/1.026, allocations: 83.81 kB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/1.026, allocations: 108.1 kB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/1.028, allocations: 1.12 MB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.028, allocations: 3.938 kB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.482e-05/1.028, allocations: 49.88 kB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/1.028, allocations: 30.03 kB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/1.03, allocations: 1.231 MB / 1.059 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004945/1.035, allocations: 2.994 MB / 1.062 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/1.036, allocations: 0.7798 MB / 1.063 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/1.037, allocations: 302.1 kB / 1.063 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/1.037, allocations: 31.45 kB / 1.063 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008109/1.038, allocations: 452.3 kB / 1.064 GB, free: 154.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 4.308e-06/1.038, allocations: 2.938 kB / 1.064 GB, free: 154.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.00292/1.041, allocations: 1.143 MB / 1.065 GB, free: 154.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/1.041, allocations: 197.9 kB / 1.065 GB, free: 154.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/1.042, allocations: 0.6676 MB / 1.066 GB, free: 154 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/1.042, allocations: 37.53 kB / 1.066 GB, free: 154 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/1.043, allocations: 0.4886 MB / 1.066 GB, free: 153.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/1.043, allocations: 260.1 kB / 1.066 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/1.043, allocations: 15.31 kB / 1.067 GB, free: 153.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.043, allocations: 391.7 kB / 1.067 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/1.043, allocations: 247 kB / 1.067 GB, free: 153.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/1.044, allocations: 347.4 kB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.045, allocations: 0.5837 MB / 1.068 GB, free: 153.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.045, allocations: 0.7188 kB / 1.068 GB, free: 153.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002244/1.048, allocations: 0.8015 MB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/1.048, allocations: 9.484 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.048, allocations: 0.9375 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006715/1.048, allocations: 86.55 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/1.049, allocations: 153.5 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/1.051, allocations: 1.521 MB / 1.071 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/1.052, allocations: 91.92 kB / 1.071 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/1.052, allocations: 26.42 kB / 1.071 GB, free: 151.7 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 (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.0005767/1.053, allocations: 276.3 kB / 1.071 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/1.053, allocations: 88.27 kB / 1.071 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/1.056, allocations: 1.033 MB / 1.072 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.056, allocations: 8.75 kB / 1.072 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.056, allocations: 0 / 1.072 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.056, allocations: 4.422 kB / 1.072 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/1.058, allocations: 0.9793 MB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.058, allocations: 4.719 kB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/1.058, allocations: 156.8 kB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/1.059, allocations: 87.66 kB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/1.059, allocations: 23.03 kB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/1.061, allocations: 1.541 MB / 1.075 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.061, allocations: 8.562 kB / 1.075 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/1.064, allocations: 0.8916 MB / 1.076 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/1.064, allocations: 285.8 kB / 1.076 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.064, allocations: 16.52 kB / 1.076 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/1.065, allocations: 71.92 kB / 1.076 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/1.065, allocations: 61.73 kB / 1.076 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/1.065, allocations: 31.89 kB / 1.076 GB, free: 149.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008338/1.066, allocations: 482.1 kB / 1.077 GB, free: 149.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/1.066, allocations: 0 / 1.077 GB, free: 149.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001007/1.067, allocations: 316.7 kB / 1.077 GB, free: 149.3 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 (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.003195/1.07, allocations: 1.904 MB / 1.079 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001585/1.072, allocations: 0.7807 MB / 1.079 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.072, allocations: 1.438 kB / 1.079 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007745/1.073, allocations: 0.5043 MB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.074, allocations: 270.8 kB / 1.08 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/1.086, allocations: 7.34 MB / 1.087 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/1.087, allocations: 1.08 MB / 1.088 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001048/1.088, allocations: 267.8 kB / 1.089 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/1.089, allocations: 449.7 kB / 1.089 GB, free: 141.5 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/1.089, allocations: 0 / 1.089 GB, free: 141.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03635/1.125, allocations: 20.02 MB / 1.109 GB, free: 122.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/1.125, allocations: 325.6 kB / 1.109 GB, free: 122.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/4.253, allocations: 0 / 1.109 GB, free: 122.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)