Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 65.72 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2412, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006465/0.2477, allocations: 5.179 MB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1596/0.4074, allocations: 150.7 MB / 1.216 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006938/0.4081, allocations: 19.88 kB / 1.216 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.4087, allocations: 202.1 kB / 1.216 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.4102, allocations: 0.5604 MB / 1.217 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.4119, allocations: 0.8555 MB / 1.218 GB, free: 164 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.4133, allocations: 1.444 MB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008868/0.4142, allocations: 0.6653 MB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.4147, allocations: 0.5178 MB / 1.22 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006182/0.4154, allocations: 0.5484 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.4156, allocations: 128 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000706/0.4163, allocations: 471.6 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.4166, allocations: 319 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005634/0.4171, allocations: 0.6219 MB / 1.222 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.4188, allocations: 1.706 MB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4188, allocations: 0 / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4188, allocations: 4 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4188, allocations: 0 / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002504/0.4213, allocations: 1.508 MB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4214, allocations: 12.03 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.4216, allocations: 156.3 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.4232, allocations: 299.2 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.4243, allocations: 0.7767 MB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.4244, allocations: 77.98 kB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.4245, allocations: 92 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.4264, allocations: 1.07 MB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4264, allocations: 0 / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/0.4265, allocations: 36 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.4265, allocations: 24 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.429, allocations: 1.28 MB / 1.229 GB, free: 4.25 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.4335, allocations: 2.983 MB / 1.232 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.4362, allocations: 1.027 MB / 1.233 GB, free: 88 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008249/0.437, allocations: 364.5 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.39e-05/0.4371, allocations: 36.59 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.4382, allocations: 0.5587 MB / 1.234 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 1.804e-06/0.4383, allocations: 0 / 1.234 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.003894/0.4422, allocations: 1.391 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.4423, allocations: 188.9 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/0.4431, allocations: 0.6411 MB / 1.236 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.4432, allocations: 41.7 kB / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.4435, allocations: 424.2 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.4438, allocations: 276 kB / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.444, allocations: 150.5 kB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4442, allocations: 386.8 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/0.445, allocations: 305.8 kB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.4459, allocations: 410.5 kB / 1.238 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.4475, allocations: 0.6945 MB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4475, allocations: 0 / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002387/0.4499, allocations: 0.9268 MB / 1.24 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4499, allocations: 4 kB / 1.24 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.45, allocations: 8 kB / 1.24 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.4505, allocations: 80.88 kB / 1.24 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/0.4513, allocations: 171.8 kB / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.4534, allocations: 1.636 MB / 1.242 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.4542, allocations: 113 kB / 1.242 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.4543, allocations: 39.91 kB / 1.242 GB, free: 6.984 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0003684/0.4546, allocations: 269.9 kB / 1.242 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.4548, allocations: 90.95 kB / 1.242 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.4578, allocations: 1.206 MB / 1.243 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4578, allocations: 11.98 kB / 1.243 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4579, allocations: 7.938 kB / 1.243 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4579, allocations: 3.984 kB / 1.243 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.4617, allocations: 2.143 MB / 1.245 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4617, allocations: 0 / 1.245 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/0.4625, allocations: 183.8 kB / 1.246 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.4629, allocations: 76.72 kB / 1.246 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.463, allocations: 27.92 kB / 1.246 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.465, allocations: 1.65 MB / 1.247 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.465, allocations: 0 / 1.247 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4028/0.8678, allocations: 1.114 MB / 1.248 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/0.8684, allocations: 278.5 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.8687, allocations: 24.3 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/0.8696, allocations: 85.08 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.8697, allocations: 74.55 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.8698, allocations: 37.25 kB / 1.249 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006403/0.8705, allocations: 467.6 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8705, allocations: 0 / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009092/0.8714, allocations: 345.4 kB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004373/0.8758, allocations: 2.174 MB / 1.252 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002806/0.8786, allocations: 1.133 MB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8786, allocations: 0.9688 kB / 1.253 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.8798, allocations: 0.5804 MB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.881, allocations: 302.5 kB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009153/0.8901, allocations: 6.995 MB / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.8906, allocations: 1.049 MB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008247/0.8914, allocations: 285.4 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.8919, allocations: 415.5 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.8919, allocations: 2.406 kB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9057/1.798, allocations: 22.41 MB / 1.284 GB, free: 175 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.05/19.85, allocations: 9.609 kB / 1.284 GB, free: 175 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)