Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.55/1.55, allocations: 252 MB / 267.3 MB, free: 10.84 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.001649/0.001649, allocations: 173.6 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 2.086/2.086, 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.0008735/0.0008738, allocations: 87.97 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 9.281 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 106.3 MB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005613/0.254, allocations: 3.803 MB / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1819/0.436, allocations: 146.4 MB / 1.048 GB, free: 8.961 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.4371, allocations: 15.88 kB / 1.048 GB, free: 8.945 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007325/0.4379, allocations: 135 kB / 1.048 GB, free: 8.812 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.001752/0.4396, allocations: 365.4 kB / 1.048 GB, free: 8.457 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.4417, allocations: 0.689 MB / 1.049 GB, free: 7.777 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.4431, allocations: 1.102 MB / 1.05 GB, free: 6.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009223/0.444, allocations: 0.6347 MB / 1.05 GB, free: 6.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.4446, allocations: 306.4 kB / 1.051 GB, free: 5.719 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.445, allocations: 346 kB / 1.051 GB, free: 5.379 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.4451, allocations: 20 kB / 1.051 GB, free: 5.359 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007568/0.4459, allocations: 311.7 kB / 1.051 GB, free: 5.055 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.4461, allocations: 179.1 kB / 1.052 GB, free: 4.879 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.4465, allocations: 434.9 kB / 1.052 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.448, allocations: 1.374 MB / 1.053 GB, free: 3.066 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.448, allocations: 0 / 1.053 GB, free: 3.066 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.448, allocations: 0 / 1.053 GB, free: 3.066 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.448, allocations: 4 kB / 1.053 GB, free: 3.062 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.0021/0.4501, allocations: 1.147 MB / 1.054 GB, free: 1.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4502, allocations: 12.03 kB / 1.054 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.4503, allocations: 139.6 kB / 1.055 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.4514, allocations: 215.4 kB / 1.055 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.4525, allocations: 0.7225 MB / 1.055 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.4525, allocations: 66 kB / 1.056 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.4526, allocations: 88 kB / 1.056 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5418/0.9945, allocations: 0.9335 MB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.9946, allocations: 0 / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.9947, allocations: 39.88 kB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.9947, allocations: 21 kB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.9967, allocations: 1.123 MB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00452/1.001, allocations: 2.549 MB / 1.06 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/1.003, allocations: 0.7508 MB / 1.061 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/1.003, allocations: 290 kB / 1.061 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006086/1.004, allocations: 473.5 kB / 1.062 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008852/1.005, allocations: 453.5 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/1.005, allocations: 2.469 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003201/1.008, allocations: 1.117 MB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/1.008, allocations: 190.2 kB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008434/1.009, allocations: 0.5957 MB / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/1.009, allocations: 40.61 kB / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/1.009, allocations: 400.1 kB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/1.01, allocations: 234 kB / 1.065 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/1.01, allocations: 13.72 kB / 1.065 GB, free: 153.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.01, allocations: 379.6 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/1.01, allocations: 228.1 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/1.011, allocations: 334.3 kB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.012, allocations: 0.5552 MB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.012, allocations: 1.656 kB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002076/1.014, allocations: 0.7468 MB / 1.067 GB, free: 153 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.014, allocations: 12.22 kB / 1.067 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.014, allocations: 0.75 kB / 1.067 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/1.015, allocations: 84.8 kB / 1.067 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/1.016, allocations: 146.8 kB / 1.067 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/1.018, allocations: 1.519 MB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/1.018, allocations: 83.06 kB / 1.069 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.58e-05/1.018, allocations: 30.88 kB / 1.069 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 (76): * Single equations (assignments): 75 * 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.0005441/1.019, allocations: 256.1 kB / 1.069 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/1.019, allocations: 76.77 kB / 1.069 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/1.022, allocations: 1.032 MB / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.022, allocations: 9.328 kB / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.022, allocations: 0.6562 kB / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.022, allocations: 4.125 kB / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/1.024, allocations: 0.8595 MB / 1.071 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.024, allocations: 5.516 kB / 1.071 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007165/1.024, allocations: 150.1 kB / 1.071 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000562/1.025, allocations: 82.48 kB / 1.071 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/1.025, allocations: 28.72 kB / 1.071 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/1.027, allocations: 1.555 MB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.027, allocations: 0 / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/1.029, allocations: 0.8605 MB / 1.073 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004736/1.03, allocations: 272.8 kB / 1.074 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/1.03, allocations: 16.86 kB / 1.074 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/1.031, allocations: 76.03 kB / 1.074 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.031, allocations: 59.52 kB / 1.074 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-05/1.031, allocations: 36.8 kB / 1.074 GB, free: 149.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007537/1.032, allocations: 430.4 kB / 1.074 GB, free: 149.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0.875 kB / 1.074 GB, free: 149.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001105/1.033, allocations: 287.8 kB / 1.074 GB, free: 149.4 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 (84): * Single equations (assignments): 81 * 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.003801/1.037, allocations: 1.894 MB / 1.076 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001919/1.038, allocations: 0.7434 MB / 1.077 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.039, allocations: 4.141 kB / 1.077 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/1.04, allocations: 0.4888 MB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.041, allocations: 261.3 kB / 1.078 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/1.054, allocations: 6.583 MB / 1.084 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/1.054, allocations: 1.016 MB / 1.085 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009752/1.055, allocations: 267.9 kB / 1.085 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/1.056, allocations: 373.9 kB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/1.056, allocations: 0 / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/1.094, allocations: 18.97 MB / 1.104 GB, free: 127.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.095, allocations: 323.3 kB / 1.105 GB, free: 126.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/4.01, allocations: 0 / 1.105 GB, free: 126.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)