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.489/1.489, allocations: 252 MB / 267 MB, free: 10.98 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.001162/0.001162, allocations: 174.8 kB / 326.6 MB, free: 2.242 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.946/1.946, allocations: 205.4 MB / 0.5777 GB, free: 20.31 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.0008245/0.0008243, allocations: 94.28 kB / 0.6823 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 7.375 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2759, allocations: 106.4 MB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004598/0.2805, allocations: 3.868 MB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1664/0.4469, allocations: 136.6 MB / 1.037 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.448, allocations: 19.88 kB / 1.037 GB, free: 3 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.4486, allocations: 138.9 kB / 1.038 GB, free: 2.863 MB / 0.6823 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.001468/0.4501, allocations: 366.7 kB / 1.038 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.4519, allocations: 0.6106 MB / 1.039 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.4531, allocations: 1.124 MB / 1.04 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009364/0.4541, allocations: 0.6585 MB / 1.04 GB, free: 92 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004906/0.4546, allocations: 342.3 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.455, allocations: 369.8 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.4551, allocations: 24 kB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006592/0.4558, allocations: 263.8 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.456, allocations: 187.1 kB / 1.041 GB, free: 14.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.4562, allocations: 221 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.4574, allocations: 1.263 MB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4575, allocations: 0 / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4575, allocations: 0 / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.4575, allocations: 4 kB / 1.043 GB, free: 13.43 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.002381/0.4599, allocations: 1.32 MB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4599, allocations: 8.031 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.4602, allocations: 177.1 kB / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009262/0.4611, allocations: 218.2 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4623, allocations: 0.7702 MB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.4624, allocations: 82.25 kB / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.4626, allocations: 108 kB / 1.045 GB, free: 10.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.4647, allocations: 1.109 MB / 1.047 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.4647, allocations: 3.953 kB / 1.047 GB, free: 9.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/0.4648, allocations: 52 kB / 1.047 GB, free: 9.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.4649, allocations: 28 kB / 1.047 GB, free: 9.395 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.4668, allocations: 1.218 MB / 1.048 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005169/0.472, allocations: 3.003 MB / 1.051 GB, free: 5.086 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.4734, allocations: 0.7747 MB / 1.052 GB, free: 4.305 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/0.4741, allocations: 298.7 kB / 1.052 GB, free: 4.012 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.146e-05/0.4742, allocations: 32.69 kB / 1.052 GB, free: 3.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009554/0.4751, allocations: 455.2 kB / 1.052 GB, free: 3.516 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 4.719e-06/0.4752, allocations: 0 / 1.052 GB, free: 3.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.003331/0.4785, allocations: 1.14 MB / 1.053 GB, free: 2.348 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.4787, allocations: 192.6 kB / 1.054 GB, free: 2.117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/0.4797, allocations: 0.6645 MB / 1.054 GB, free: 1.441 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.66e-05/0.4797, allocations: 41.7 kB / 1.054 GB, free: 1.395 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.4802, allocations: 499.6 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.4805, allocations: 268.2 kB / 1.055 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.4805, allocations: 12 kB / 1.055 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.4807, allocations: 390.8 kB / 1.055 GB, free: 236 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.4812, allocations: 237.9 kB / 1.056 GB, free: 0 / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5917/1.073, allocations: 338.8 kB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/1.074, allocations: 295.8 kB / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.074, allocations: 0 / 1.056 GB, free: 154.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001954/1.076, allocations: 0.7919 MB / 1.057 GB, free: 154.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.076, allocations: 5.656 kB / 1.057 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.076, allocations: 2.344 kB / 1.057 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/1.076, allocations: 86.17 kB / 1.057 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/1.077, allocations: 151.6 kB / 1.057 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/1.079, allocations: 1.514 MB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/1.079, allocations: 87.48 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/1.079, allocations: 29.91 kB / 1.059 GB, free: 153 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.0006026/1.08, allocations: 281.9 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/1.08, allocations: 82.72 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/1.082, allocations: 1.042 MB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.082, allocations: 11.98 kB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/1.082, allocations: 1.75 kB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.082, allocations: 7.094 kB / 1.06 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/1.084, allocations: 0.9708 MB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.084, allocations: 2.906 kB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/1.084, allocations: 155.5 kB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/1.085, allocations: 82.66 kB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/1.085, allocations: 21.47 kB / 1.061 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/1.087, allocations: 1.543 MB / 1.063 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.087, allocations: 8.578 kB / 1.063 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.089, allocations: 0.8823 MB / 1.064 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/1.089, allocations: 285.9 kB / 1.064 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.089, allocations: 20.3 kB / 1.064 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/1.09, allocations: 67.66 kB / 1.064 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.09, allocations: 64.64 kB / 1.064 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/1.09, allocations: 32.78 kB / 1.064 GB, free: 151 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007265/1.091, allocations: 476 kB / 1.065 GB, free: 150.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 4 kB / 1.065 GB, free: 150.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009727/1.092, allocations: 310.9 kB / 1.065 GB, free: 150.8 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.003767/1.096, allocations: 1.901 MB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002017/1.098, allocations: 0.7728 MB / 1.068 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.098, allocations: 0.625 kB / 1.068 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.099, allocations: 0.499 MB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/1.1, allocations: 258.1 kB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.113, allocations: 5.401 MB / 1.074 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/1.114, allocations: 1.079 MB / 1.075 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001071/1.115, allocations: 264.9 kB / 1.075 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/1.115, allocations: 449.6 kB / 1.075 GB, free: 147.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/1.115, allocations: 0 / 1.075 GB, free: 147.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05059/1.166, allocations: 21.21 MB / 1.096 GB, free: 133.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.166, allocations: 289.4 kB / 1.096 GB, free: 133.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.973, allocations: 0 / 1.096 GB, free: 133.2 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)