Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009424/0.0009423, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009598/0.00096, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004625, allocations: 13.62 kB / 0.6735 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1876, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.003963/0.1916, allocations: 3.526 MB / 0.7906 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4991/0.6908, allocations: 127.2 MB / 0.9148 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.6912, allocations: 16.53 kB / 0.9148 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.6915, allocations: 78.5 kB / 0.9148 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009735/0.6925, allocations: 417.9 kB / 0.9152 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.6939, allocations: 0.594 MB / 0.9158 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000844/0.6948, allocations: 0.7368 MB / 0.9165 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006621/0.6954, allocations: 0.5139 MB / 0.917 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.6958, allocations: 306.5 kB / 0.9173 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.6962, allocations: 300.6 kB / 0.9176 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.6963, allocations: 25.88 kB / 0.9176 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.6968, allocations: 243 kB / 0.9179 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.697, allocations: 167.9 kB / 0.918 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.6973, allocations: 189.3 kB / 0.9182 GB, free: 21.49 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.6984, allocations: 1.076 MB / 0.9193 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.6984, allocations: 0 / 0.9193 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6985, allocations: 0 / 0.9193 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.6985, allocations: 0 / 0.9193 GB, free: 21.41 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001732/0.7002, allocations: 1.154 MB / 0.9204 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.7002, allocations: 11.86 kB / 0.9204 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.7016, allocations: 274.5 kB / 0.9207 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/0.7026, allocations: 0.7027 MB / 0.9214 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.7026, allocations: 66.75 kB / 0.9214 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/0.7027, allocations: 87.66 kB / 0.9215 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.7043, allocations: 0.958 MB / 0.9224 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.7043, allocations: 2.906 kB / 0.9224 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.7044, allocations: 35.2 kB / 0.9225 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.7044, allocations: 21.94 kB / 0.9225 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.7063, allocations: 1.18 MB / 0.9236 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.7101, allocations: 2.583 MB / 0.9262 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.7123, allocations: 0.8745 MB / 0.927 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.016e-05/0.7123, allocations: 32.89 kB / 0.9271 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008415/0.7132, allocations: 477.7 kB / 0.9275 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 2.655e-06/0.7132, allocations: 0 / 0.9275 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.002992/0.7162, allocations: 1.199 MB / 0.9287 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.7163, allocations: 190.1 kB / 0.9289 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/0.7171, allocations: 0.5742 MB / 0.9294 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.7171, allocations: 39.05 kB / 0.9295 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.7174, allocations: 401.8 kB / 0.9298 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.7175, allocations: 244.8 kB / 0.9301 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.7176, allocations: 12.56 kB / 0.9301 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7177, allocations: 383.5 kB / 0.9305 GB, free: 18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.7183, allocations: 254.8 kB / 0.9307 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006426/0.719, allocations: 357 kB / 0.931 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.7197, allocations: 301.2 kB / 0.9313 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7197, allocations: 0 / 0.9313 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001909/0.7216, allocations: 0.8053 MB / 0.9321 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7216, allocations: 10.86 kB / 0.9321 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7216, allocations: 1.219 kB / 0.9321 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.7222, allocations: 85.05 kB / 0.9322 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.7229, allocations: 152.6 kB / 0.9324 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.7248, allocations: 1.533 MB / 0.9339 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.7254, allocations: 97.2 kB / 0.9339 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.7255, allocations: 33.86 kB / 0.934 GB, free: 16.45 MB / 0.7325 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 (77): * Single equations (assignments): 76 * 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.0003786/0.7259, allocations: 257.9 kB / 0.9342 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.726, allocations: 75.56 kB / 0.9343 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.7288, allocations: 1.099 MB / 0.9354 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/0.7288, allocations: 9.125 kB / 0.9354 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.7288, allocations: 0 / 0.9354 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.7288, allocations: 7.188 kB / 0.9354 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.7297, allocations: 0.8797 MB / 0.9362 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7297, allocations: 0 / 0.9362 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.7304, allocations: 161 kB / 0.9364 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/0.7309, allocations: 85.55 kB / 0.9365 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.7309, allocations: 20.89 kB / 0.9365 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.7325, allocations: 1.559 MB / 0.938 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7325, allocations: 12.03 kB / 0.938 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.7343, allocations: 0.9134 MB / 0.9389 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.7347, allocations: 271.9 kB / 0.9392 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.7348, allocations: 26.38 kB / 0.9392 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.7354, allocations: 81.28 kB / 0.9393 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.7355, allocations: 60.59 kB / 0.9393 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.7356, allocations: 36.05 kB / 0.9394 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004472/0.7361, allocations: 424.5 kB / 0.9398 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7361, allocations: 0 / 0.9398 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007189/0.7368, allocations: 273.9 kB / 0.94 GB, free: 14.15 MB / 0.7325 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 (86): * Single equations (assignments): 83 * 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.001066/0.7379, allocations: 0.5521 MB / 0.9406 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.7395, allocations: 0.8012 MB / 0.9414 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7395, allocations: 1.344 kB / 0.9414 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009138/0.7404, allocations: 0.5185 MB / 0.9419 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009099/0.7414, allocations: 234.7 kB / 0.9421 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.7448, allocations: 2.153 MB / 0.9442 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.7453, allocations: 1.03 MB / 0.9452 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007849/0.7461, allocations: 272.1 kB / 0.9455 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.7464, allocations: 106.6 kB / 0.9456 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.7464, allocations: 1.641 kB / 0.9456 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.01821/0.7646, allocations: 12.87 MB / 0.9581 GB, free: 8.137 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) Environment - environmentSimulation: