Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.000894, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00666/0.00666, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 8.719 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3987, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006186/0.405, allocations: 4.745 MB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.5724, allocations: 146.8 MB / 1.222 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007555/0.5732, allocations: 15.94 kB / 1.222 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.5737, allocations: 150.8 kB / 1.222 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.5753, allocations: 492.8 kB / 1.223 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.5772, allocations: 0.7427 MB / 1.223 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.5788, allocations: 1.362 MB / 1.225 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009664/0.5798, allocations: 0.6214 MB / 1.225 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/0.5805, allocations: 370.2 kB / 1.226 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005411/0.581, allocations: 425.6 kB / 1.226 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.5811, allocations: 24 kB / 1.226 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008563/0.582, allocations: 367.7 kB / 1.227 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.5822, allocations: 195 kB / 1.227 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.5826, allocations: 0.5103 MB / 1.227 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.5843, allocations: 1.596 MB / 1.229 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5843, allocations: 0 / 1.229 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5843, allocations: 0 / 1.229 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.5843, allocations: 0 / 1.229 GB, free: 8.617 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.002412/0.5868, allocations: 1.278 MB / 1.23 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.5868, allocations: 8.031 kB / 1.23 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.5886, allocations: 315.2 kB / 1.23 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.5898, allocations: 0.7694 MB / 1.231 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-05/0.5899, allocations: 70 kB / 1.231 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.5901, allocations: 99.94 kB / 1.231 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.5923, allocations: 1.07 MB / 1.232 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5924, allocations: 0 / 1.232 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.5925, allocations: 48 kB / 1.232 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.5925, allocations: 24 kB / 1.232 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.5949, allocations: 1.272 MB / 1.234 GB, free: 3.543 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.005214/0.6001, allocations: 3.024 MB / 1.237 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.6029, allocations: 1.026 MB / 1.238 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008249/0.6037, allocations: 370.6 kB / 1.238 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.6038, allocations: 36.59 kB / 1.238 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/0.605, allocations: 0.5567 MB / 1.238 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 3.407e-06/0.605, allocations: 0 / 1.238 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.004149/0.6092, allocations: 1.403 MB / 1.24 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002245/0.6094, allocations: 188.9 kB / 1.24 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008558/0.6103, allocations: 0.6487 MB / 1.241 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.6104, allocations: 41.7 kB / 1.241 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.6107, allocations: 424.3 kB / 1.241 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.6109, allocations: 284 kB / 1.241 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.611, allocations: 69.67 kB / 1.241 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6112, allocations: 386.8 kB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007866/0.612, allocations: 329.8 kB / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/0.6129, allocations: 427 kB / 1.243 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.6145, allocations: 0.7179 MB / 1.243 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6145, allocations: 0 / 1.243 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002477/0.617, allocations: 0.9852 MB / 1.244 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.617, allocations: 4 kB / 1.244 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.617, allocations: 7.938 kB / 1.244 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/0.6177, allocations: 88.84 kB / 1.244 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.6185, allocations: 187.8 kB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.6207, allocations: 1.52 MB / 1.246 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/0.6217, allocations: 131.3 kB / 1.246 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/0.6218, allocations: 39.97 kB / 1.246 GB, free: 6.254 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (98): * Single equations (assignments): 97 * 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.0005001/0.6223, allocations: 272.5 kB / 1.246 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.6224, allocations: 87.16 kB / 1.246 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.6255, allocations: 1.214 MB / 1.248 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.6255, allocations: 12 kB / 1.248 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6255, allocations: 0 / 1.248 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6255, allocations: 3.984 kB / 1.248 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/0.6294, allocations: 2.147 MB / 1.25 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6295, allocations: 0 / 1.25 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/0.6302, allocations: 179.8 kB / 1.25 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/0.6308, allocations: 84.77 kB / 1.25 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.6309, allocations: 27.98 kB / 1.25 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.6327, allocations: 1.551 MB / 1.252 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6328, allocations: 4.062 kB / 1.252 GB, free: 456 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7853/1.418, allocations: 1.122 MB / 1.253 GB, free: 30.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/1.419, allocations: 297.6 kB / 1.253 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.419, allocations: 19.27 kB / 1.253 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009082/1.42, allocations: 107.6 kB / 1.253 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/1.42, allocations: 72.75 kB / 1.253 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.42, allocations: 42.52 kB / 1.253 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007407/1.421, allocations: 475 kB / 1.254 GB, free: 30.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.421, allocations: 0 / 1.254 GB, free: 30.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001105/1.422, allocations: 344.8 kB / 1.254 GB, free: 30.25 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.001446/1.423, allocations: 0.5985 MB / 1.255 GB, free: 30.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.426, allocations: 0.9593 MB / 1.255 GB, free: 30.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.426, allocations: 0.9688 kB / 1.255 GB, free: 30.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/1.427, allocations: 0.5881 MB / 1.256 GB, free: 29.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.429, allocations: 273.2 kB / 1.256 GB, free: 29.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/1.432, allocations: 2.275 MB / 1.259 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/1.433, allocations: 1.049 MB / 1.26 GB, free: 28.08 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009476/1.434, allocations: 287.2 kB / 1.26 GB, free: 28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/1.434, allocations: 108.6 kB / 1.26 GB, free: 28 MB / 0.9981 GB Notification: Performance of SimCode: time 1.403e-06/1.434, allocations: 4 kB / 1.26 GB, free: 27.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.03242/1.467, allocations: 15.13 MB / 1.275 GB, free: 26.95 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)