Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001367/0.001367, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001558/0.001558, allocations: 188.7 kB / 16.25 MB, free: 6.617 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 67.34 kB / 0.9115 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4062, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007256/0.4135, allocations: 5.17 MB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.583, allocations: 148.4 MB / 1.218 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009972/0.584, allocations: 19.88 kB / 1.218 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007962/0.5848, allocations: 150.8 kB / 1.218 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.5875, allocations: 0.4973 MB / 1.218 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.59, allocations: 0.7725 MB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.5919, allocations: 1.448 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.5932, allocations: 0.6653 MB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009164/0.5941, allocations: 0.5216 MB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.5949, allocations: 0.5562 MB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002605/0.5952, allocations: 128 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.5962, allocations: 471.6 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.5965, allocations: 323 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.5971, allocations: 0.6102 MB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.5992, allocations: 1.714 MB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5993, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5993, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.5993, allocations: 0 / 1.225 GB, free: 8.676 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.003052/0.6024, allocations: 1.504 MB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.6024, allocations: 8.031 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.6041, allocations: 311.2 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.6052, allocations: 0.7694 MB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.6052, allocations: 70 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.6054, allocations: 92 kB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.6074, allocations: 1.07 MB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.6075, allocations: 4 kB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.6076, allocations: 40 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.6076, allocations: 24 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.6099, allocations: 1.264 MB / 1.23 GB, free: 3.398 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.004854/0.6148, allocations: 2.982 MB / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.6175, allocations: 1.028 MB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007863/0.6183, allocations: 362.6 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.6184, allocations: 36.52 kB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.6197, allocations: 0.5605 MB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.765e-06/0.6197, allocations: 0 / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.004097/0.6238, allocations: 1.391 MB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.6239, allocations: 192.9 kB / 1.237 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.6248, allocations: 0.6371 MB / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.6249, allocations: 49.69 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.6253, allocations: 420.2 kB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.6255, allocations: 276 kB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.6258, allocations: 170.5 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.626, allocations: 390.8 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000752/0.6268, allocations: 325.7 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009127/0.6277, allocations: 423.1 kB / 1.239 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.6292, allocations: 0.714 MB / 1.24 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6292, allocations: 64 / 1.24 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002517/0.6318, allocations: 0.9697 MB / 1.241 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.6318, allocations: 11.98 kB / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.6318, allocations: 0 / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000658/0.6325, allocations: 76.88 kB / 1.241 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/0.6333, allocations: 187.8 kB / 1.241 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.6356, allocations: 1.642 MB / 1.243 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/0.6365, allocations: 119.3 kB / 1.243 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.6366, allocations: 43.95 kB / 1.243 GB, free: 5.988 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.0005243/0.6371, allocations: 271.4 kB / 1.243 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.6373, allocations: 82.97 kB / 1.243 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.6403, allocations: 1.206 MB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.6403, allocations: 8 kB / 1.245 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.6404, allocations: 3.938 kB / 1.245 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6404, allocations: 3.984 kB / 1.245 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.6443, allocations: 2.151 MB / 1.247 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6443, allocations: 0 / 1.247 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/0.6451, allocations: 171.7 kB / 1.247 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.6456, allocations: 76.78 kB / 1.247 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.6456, allocations: 23.98 kB / 1.247 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.6476, allocations: 1.658 MB / 1.249 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6476, allocations: 0 / 1.249 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6088/1.256, allocations: 1.114 MB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005667/1.257, allocations: 279 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/1.257, allocations: 19.08 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000895/1.258, allocations: 89.92 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/1.258, allocations: 76.98 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/1.258, allocations: 37.64 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008077/1.259, allocations: 469.3 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.259, allocations: 2.562 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001602/1.261, allocations: 338.2 kB / 1.251 GB, free: 183.1 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.001539/1.262, allocations: 0.6156 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003438/1.266, allocations: 1.165 MB / 1.253 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.266, allocations: 0.9688 kB / 1.253 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/1.267, allocations: 0.5805 MB / 1.253 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.269, allocations: 304.2 kB / 1.253 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/1.273, allocations: 2.265 MB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/1.273, allocations: 1.043 MB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001016/1.274, allocations: 279.8 kB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/1.274, allocations: 113 kB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.034e-06/1.274, allocations: 0 / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03511/1.31, allocations: 15.8 MB / 1.273 GB, free: 178.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)