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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 289.9 MB / 297.4 MB, free: 6.449 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.001033/0.001033, allocations: 180.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.3 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009399/0.0009399, allocations: 87.97 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.98e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7818, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.441/5.223, allocations: 2.073 GB / 3.046 GB, free: 11.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/5.223, allocations: 96.09 kB / 3.046 GB, free: 11.31 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7501/5.973, allocations: 63 MB / 3.108 GB, free: 326.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.324e-06/5.973, allocations: 1.438 kB / 3.108 GB, free: 326.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.043e-05/5.974, allocations: 20.44 kB / 3.108 GB, free: 326.7 MB / 0.948 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.002332/5.976, allocations: 1.083 MB / 3.109 GB, free: 325.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/5.976, allocations: 9.594 kB / 3.109 GB, free: 325.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/5.978, allocations: 274.1 kB / 3.109 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/5.979, allocations: 0.6286 MB / 3.11 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/5.979, allocations: 33.11 kB / 3.11 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/5.979, allocations: 49.88 kB / 3.11 GB, free: 325.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001959/5.981, allocations: 1.031 MB / 3.111 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/5.982, allocations: 0.7787 MB / 3.111 GB, free: 324.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/5.982, allocations: 4.938 kB / 3.111 GB, free: 324.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/5.983, allocations: 5.266 kB / 3.111 GB, free: 324.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/5.983, allocations: 21.12 kB / 3.111 GB, free: 324.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/5.987, allocations: 2.427 MB / 3.114 GB, free: 323.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/5.989, allocations: 0.7321 MB / 3.115 GB, free: 323 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/5.99, allocations: 250.7 kB / 3.115 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/5.99, allocations: 34.25 kB / 3.115 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007488/5.991, allocations: 413.5 kB / 3.115 GB, free: 322.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 3.316e-06/5.991, allocations: 1.312 kB / 3.115 GB, free: 322.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.001848/5.993, allocations: 0.6671 MB / 3.116 GB, free: 322.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/5.993, allocations: 244.5 kB / 3.116 GB, free: 322 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009497/5.994, allocations: 498.4 kB / 3.117 GB, free: 321.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.829e-05/5.994, allocations: 26.98 kB / 3.117 GB, free: 321.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/5.994, allocations: 407 kB / 3.117 GB, free: 321.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/5.994, allocations: 233.6 kB / 3.117 GB, free: 321.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/5.994, allocations: 5.469 kB / 3.117 GB, free: 321.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001481/5.995, allocations: 377.9 kB / 3.118 GB, free: 320.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/5.995, allocations: 191.1 kB / 3.118 GB, free: 320.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/5.995, allocations: 305.8 kB / 3.118 GB, free: 320.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/5.996, allocations: 246.2 kB / 3.118 GB, free: 320.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/5.996, allocations: 6.844 kB / 3.118 GB, free: 320.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001592/5.997, allocations: 0.6632 MB / 3.119 GB, free: 320 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/5.998, allocations: 5.094 kB / 3.119 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/5.998, allocations: 1.188 kB / 3.119 GB, free: 320 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/5.998, allocations: 89 kB / 3.119 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/5.999, allocations: 158.3 kB / 3.119 GB, free: 319.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/6.001, allocations: 1.448 MB / 3.121 GB, free: 318.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006573/6.001, allocations: 75.05 kB / 3.121 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/6.001, allocations: 30.48 kB / 3.121 GB, free: 318.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0001931/6.002, allocations: 119.9 kB / 3.121 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001572/6.003, allocations: 0.6702 MB / 3.121 GB, free: 318 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/6.003, allocations: 76.86 kB / 3.122 GB, free: 317.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/6.005, allocations: 0.9469 MB / 3.122 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/6.005, allocations: 7.875 kB / 3.122 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/6.005, allocations: 0 / 3.122 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/6.005, allocations: 11.92 kB / 3.122 GB, free: 317.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/6.006, allocations: 0.7595 MB / 3.123 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/6.006, allocations: 0 / 3.123 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006466/6.007, allocations: 164.8 kB / 3.123 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/6.008, allocations: 79.03 kB / 3.123 GB, free: 316.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/6.008, allocations: 19.75 kB / 3.123 GB, free: 316.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/6.009, allocations: 1.488 MB / 3.125 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/6.009, allocations: 0 / 3.125 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/6.01, allocations: 0.7718 MB / 3.126 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/6.011, allocations: 282.7 kB / 3.126 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/6.011, allocations: 0 / 3.126 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/6.012, allocations: 63.09 kB / 3.126 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/6.012, allocations: 63.97 kB / 3.126 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/6.012, allocations: 31.08 kB / 3.126 GB, free: 314.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005133/6.012, allocations: 403.9 kB / 3.126 GB, free: 314.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.012, allocations: 0 / 3.126 GB, free: 314.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001125/6.014, allocations: 315.9 kB / 3.127 GB, free: 314.2 MB / 0.948 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) * 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.003486/6.017, allocations: 2.263 MB / 3.129 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001325/6.018, allocations: 0.659 MB / 3.13 GB, free: 312.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/6.018, allocations: 0 / 3.13 GB, free: 312.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006358/6.019, allocations: 465.1 kB / 3.13 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/6.02, allocations: 221.4 kB / 3.13 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/6.024, allocations: 1.508 MB / 3.132 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/6.024, allocations: 1.037 MB / 3.133 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000929/6.025, allocations: 262.6 kB / 3.133 GB, free: 310.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/6.026, allocations: 374.8 kB / 3.133 GB, free: 310.2 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/6.026, allocations: 0 / 3.133 GB, free: 310.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05153/6.078, allocations: 23.22 MB / 3.156 GB, free: 290.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/6.078, allocations: 204.1 kB / 3.156 GB, free: 290.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/9.186, allocations: 0 / 3.156 GB, free: 290.4 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)