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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.371/2.371, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001461/0.001461, allocations: 184.8 kB / 360.6 MB, free: 7.281 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.961/1.961, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001031/0.00103, allocations: 101.2 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.285e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.808, allocations: 115.2 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.952/6.76, allocations: 2.072 GB / 3.035 GB, free: 47.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/6.76, allocations: 98.33 kB / 3.035 GB, free: 47.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9576/7.718, allocations: 62.99 MB / 3.097 GB, free: 319.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.12e-06/7.718, allocations: 3.688 kB / 3.097 GB, free: 319.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001915/7.718, allocations: 26.59 kB / 3.097 GB, free: 319.6 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.004598/7.723, allocations: 1.078 MB / 3.098 GB, free: 319 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.117e-05/7.723, allocations: 8.906 kB / 3.098 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/7.726, allocations: 274.4 kB / 3.098 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/7.729, allocations: 0.6282 MB / 3.099 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/7.729, allocations: 30.56 kB / 3.099 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/7.729, allocations: 49.31 kB / 3.099 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004603/7.734, allocations: 1.03 MB / 3.1 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/7.737, allocations: 0.7816 MB / 3.1 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/7.738, allocations: 0 / 3.1 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/7.738, allocations: 7.125 kB / 3.1 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/7.738, allocations: 26.11 kB / 3.1 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/7.748, allocations: 2.418 MB / 3.103 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004555/7.753, allocations: 0.7312 MB / 3.104 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/7.754, allocations: 250.5 kB / 3.104 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/7.754, allocations: 35.09 kB / 3.104 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/7.756, allocations: 412.7 kB / 3.104 GB, free: 317.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 8.707e-06/7.756, allocations: 0.6562 kB / 3.104 GB, free: 317.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.004777/7.761, allocations: 0.6707 MB / 3.105 GB, free: 317.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/7.761, allocations: 240.4 kB / 3.105 GB, free: 317.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/7.763, allocations: 0.4931 MB / 3.106 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002993/7.763, allocations: 25.7 kB / 3.106 GB, free: 317.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000559/7.763, allocations: 402.5 kB / 3.106 GB, free: 317 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004912/7.764, allocations: 240 kB / 3.106 GB, free: 316.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/7.764, allocations: 1.5 kB / 3.106 GB, free: 316.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002361/7.764, allocations: 371.7 kB / 3.107 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008046/7.765, allocations: 201.7 kB / 3.107 GB, free: 316.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/7.766, allocations: 298.4 kB / 3.107 GB, free: 316.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/7.767, allocations: 242.2 kB / 3.107 GB, free: 316.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/7.767, allocations: 2.531 kB / 3.107 GB, free: 316.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004031/7.771, allocations: 0.6598 MB / 3.108 GB, free: 316.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/7.772, allocations: 9.562 kB / 3.108 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/7.772, allocations: 5.047 kB / 3.108 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/7.773, allocations: 83.72 kB / 3.108 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/7.775, allocations: 159 kB / 3.108 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/7.779, allocations: 1.451 MB / 3.11 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/7.781, allocations: 74.47 kB / 3.11 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/7.781, allocations: 31.52 kB / 3.11 GB, free: 315.1 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.0003932/7.781, allocations: 128.1 kB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004278/7.786, allocations: 0.673 MB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006135/7.786, allocations: 70.36 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005591/7.792, allocations: 0.9346 MB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/7.792, allocations: 9.609 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/7.792, allocations: 1.812 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.411e-05/7.792, allocations: 7.984 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/7.795, allocations: 0.7775 MB / 3.112 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/7.795, allocations: 0 / 3.112 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/7.797, allocations: 161 kB / 3.112 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/7.798, allocations: 84.06 kB / 3.112 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/7.799, allocations: 17.38 kB / 3.112 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/7.802, allocations: 1.476 MB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/7.802, allocations: 4.188 kB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/7.806, allocations: 0.7713 MB / 3.115 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/7.808, allocations: 278.6 kB / 3.115 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/7.808, allocations: 8.656 kB / 3.115 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/7.81, allocations: 64.42 kB / 3.115 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/7.811, allocations: 61.52 kB / 3.115 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/7.811, allocations: 35.73 kB / 3.115 GB, free: 313.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001271/7.812, allocations: 400.5 kB / 3.115 GB, free: 313 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.01e-07/7.812, allocations: 2.094 kB / 3.115 GB, free: 313 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002825/7.815, allocations: 318.3 kB / 3.116 GB, free: 312.9 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.008758/7.824, allocations: 2.271 MB / 3.118 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003336/7.827, allocations: 0.6627 MB / 3.119 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/7.827, allocations: 1 kB / 3.119 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/7.829, allocations: 461.3 kB / 3.119 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/7.832, allocations: 214.9 kB / 3.119 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/7.843, allocations: 1.509 MB / 3.121 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/7.844, allocations: 1.034 MB / 3.122 GB, free: 310.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002728/7.847, allocations: 268.2 kB / 3.122 GB, free: 310.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/7.848, allocations: 372.5 kB / 3.122 GB, free: 310.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.843e-06/7.848, allocations: 0 / 3.122 GB, free: 310.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09988/7.948, allocations: 23.22 MB / 3.145 GB, free: 309.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/7.949, allocations: 205.1 kB / 3.145 GB, free: 308.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.736/11.68, allocations: 10.02 kB / 3.145 GB, free: 308.9 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)