Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.605/3.605, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001597, allocations: 182.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.649/2.649, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 88.3 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009489/0.0009487, allocations: 12.27 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2493, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005443/0.2548, allocations: 3.519 MB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9608/1.216, allocations: 127.2 MB / 1.106 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008036/1.216, allocations: 13.59 kB / 1.106 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003928/1.217, allocations: 76.42 kB / 1.106 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002511/1.219, allocations: 419.4 kB / 1.106 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004598/1.224, allocations: 0.5972 MB / 1.107 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003199/1.227, allocations: 0.7381 MB / 1.108 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/1.229, allocations: 0.5043 MB / 1.108 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/1.231, allocations: 309.5 kB / 1.108 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/1.232, allocations: 301.6 kB / 1.109 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/1.232, allocations: 21.16 kB / 1.109 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/1.233, allocations: 247.5 kB / 1.109 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000284/1.234, allocations: 168.1 kB / 1.109 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003711/1.234, allocations: 188.7 kB / 1.109 GB, free: 17.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/1.237, allocations: 1.077 MB / 1.11 GB, free: 17.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.237, allocations: 0 / 1.11 GB, free: 17.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.018e-06/1.237, allocations: 1.156 kB / 1.11 GB, free: 17.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.689e-05/1.237, allocations: 0 / 1.11 GB, free: 17.08 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00364/1.24, allocations: 1.154 MB / 1.111 GB, free: 16.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.24, allocations: 17.5 kB / 1.111 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/1.243, allocations: 275.8 kB / 1.112 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/1.245, allocations: 0.6992 MB / 1.112 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.053e-05/1.245, allocations: 66.38 kB / 1.113 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/1.245, allocations: 83.33 kB / 1.113 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/1.249, allocations: 0.9585 MB / 1.114 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/1.249, allocations: 0 / 1.114 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/1.249, allocations: 35.78 kB / 1.114 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/1.249, allocations: 27.44 kB / 1.114 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004033/1.253, allocations: 1.179 MB / 1.115 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007284/1.26, allocations: 2.594 MB / 1.117 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004097/1.265, allocations: 0.8688 MB / 1.118 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/1.265, allocations: 35.44 kB / 1.118 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/1.266, allocations: 474.1 kB / 1.119 GB, free: 14.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.378e-06/1.266, allocations: 0 / 1.119 GB, free: 14.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.005619/1.272, allocations: 1.201 MB / 1.12 GB, free: 14.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.272, allocations: 188.6 kB / 1.12 GB, free: 14.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/1.273, allocations: 0.5748 MB / 1.121 GB, free: 14.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/1.274, allocations: 38.17 kB / 1.121 GB, free: 14.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/1.274, allocations: 402.6 kB / 1.121 GB, free: 14.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/1.274, allocations: 244.7 kB / 1.121 GB, free: 13.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/1.274, allocations: 18.22 kB / 1.121 GB, free: 13.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002309/1.275, allocations: 377.4 kB / 1.122 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/1.276, allocations: 259.7 kB / 1.122 GB, free: 13.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.277, allocations: 353.3 kB / 1.122 GB, free: 13.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.278, allocations: 299 kB / 1.122 GB, free: 13.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.278, allocations: 3.938 kB / 1.122 GB, free: 13.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003579/1.282, allocations: 0.8049 MB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/1.282, allocations: 12.12 kB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.282, allocations: 0 / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009678/1.283, allocations: 82.52 kB / 1.123 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.284, allocations: 153.3 kB / 1.123 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/1.287, allocations: 1.535 MB / 1.125 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.289, allocations: 95.31 kB / 1.125 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.289, allocations: 33.09 kB / 1.125 GB, free: 11.98 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 (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.0007417/1.29, allocations: 253.9 kB / 1.125 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/1.29, allocations: 75.44 kB / 1.125 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/1.294, allocations: 1.095 MB / 1.126 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.294, allocations: 10.59 kB / 1.126 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.294, allocations: 0 / 1.126 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/1.294, allocations: 8.266 kB / 1.126 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/1.296, allocations: 0.882 MB / 1.127 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.296, allocations: 4 kB / 1.127 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.298, allocations: 162.3 kB / 1.127 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008951/1.299, allocations: 86.09 kB / 1.128 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/1.299, allocations: 24.12 kB / 1.128 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/1.302, allocations: 1.556 MB / 1.129 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.302, allocations: 0.5469 kB / 1.129 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003859/1.306, allocations: 0.9138 MB / 1.13 GB, free: 9.949 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/1.306, allocations: 281.4 kB / 1.13 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/1.307, allocations: 16.81 kB / 1.13 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.308, allocations: 84.88 kB / 1.13 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/1.308, allocations: 69.03 kB / 1.13 GB, free: 9.715 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.308, allocations: 30.14 kB / 1.13 GB, free: 9.711 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008812/1.309, allocations: 427 kB / 1.131 GB, free: 9.555 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.309, allocations: 0 / 1.131 GB, free: 9.555 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001289/1.31, allocations: 275.9 kB / 1.131 GB, free: 9.5 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 (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.001783/1.312, allocations: 0.5574 MB / 1.132 GB, free: 9.258 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004222/1.316, allocations: 0.7964 MB / 1.132 GB, free: 9.023 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.316, allocations: 1.031 kB / 1.132 GB, free: 9.023 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002646/1.319, allocations: 0.519 MB / 1.133 GB, free: 8.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.322, allocations: 235.4 kB / 1.133 GB, free: 8.762 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007377/1.33, allocations: 2.154 MB / 1.135 GB, free: 7.559 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009004/1.33, allocations: 1.038 MB / 1.136 GB, free: 6.711 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001836/1.332, allocations: 273.1 kB / 1.137 GB, free: 6.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/1.333, allocations: 99.23 kB / 1.137 GB, free: 6.547 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/1.333, allocations: 1.219 kB / 1.137 GB, free: 6.547 MB / 0.698 GB Notification: Performance of Templates: time 0.04122/1.374, allocations: 12.87 MB / 1.149 GB, free: 108 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)