Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001826/0.001826, allocations: 176.9 kB / 361.4 MB, free: 6.801 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.061/2.061, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.001048/0.001048, allocations: 84.77 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.347e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.021, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.176/7.197, allocations: 2.072 GB / 3.036 GB, free: 43.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003786/7.197, allocations: 93.94 kB / 3.036 GB, free: 43.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7346/7.932, allocations: 62.99 MB / 3.098 GB, free: 319.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.415e-06/7.932, allocations: 0 / 3.098 GB, free: 319.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.726e-05/7.932, allocations: 28.69 kB / 3.098 GB, free: 319.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.002465/7.935, allocations: 1.084 MB / 3.099 GB, free: 319.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/7.935, allocations: 7.875 kB / 3.099 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/7.936, allocations: 274.4 kB / 3.099 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/7.938, allocations: 0.6247 MB / 3.1 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/7.938, allocations: 32.61 kB / 3.1 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/7.938, allocations: 48.91 kB / 3.1 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001799/7.94, allocations: 1.027 MB / 3.101 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/7.942, allocations: 0.7809 MB / 3.102 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/7.942, allocations: 0 / 3.102 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/7.942, allocations: 4.641 kB / 3.102 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/7.942, allocations: 19.72 kB / 3.102 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/7.947, allocations: 2.431 MB / 3.104 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/7.949, allocations: 0.7332 MB / 3.105 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/7.949, allocations: 251.7 kB / 3.105 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/7.949, allocations: 33.41 kB / 3.105 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007967/7.95, allocations: 415.4 kB / 3.105 GB, free: 317.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 2.555e-06/7.95, allocations: 0 / 3.105 GB, free: 317.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.002002/7.952, allocations: 0.6652 MB / 3.106 GB, free: 317.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/7.952, allocations: 247.5 kB / 3.106 GB, free: 317.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009809/7.953, allocations: 496.1 kB / 3.107 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/7.953, allocations: 28.55 kB / 3.107 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/7.954, allocations: 403.6 kB / 3.107 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/7.954, allocations: 231.4 kB / 3.107 GB, free: 316.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/7.954, allocations: 2.156 kB / 3.107 GB, free: 316.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002051/7.954, allocations: 376.1 kB / 3.108 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/7.955, allocations: 203.4 kB / 3.108 GB, free: 316.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/7.955, allocations: 301.4 kB / 3.108 GB, free: 316.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/7.956, allocations: 241.7 kB / 3.108 GB, free: 316.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/7.956, allocations: 0 / 3.108 GB, free: 316.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001942/7.958, allocations: 0.6634 MB / 3.109 GB, free: 316.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/7.958, allocations: 6.719 kB / 3.109 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/7.958, allocations: 3.188 kB / 3.109 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006762/7.959, allocations: 80.58 kB / 3.109 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/7.959, allocations: 156.4 kB / 3.109 GB, free: 316.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/7.961, allocations: 1.463 MB / 3.111 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009748/7.962, allocations: 74.84 kB / 3.111 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/7.963, allocations: 27.31 kB / 3.111 GB, free: 315.2 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.0002216/7.963, allocations: 117.6 kB / 3.111 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001978/7.965, allocations: 0.6754 MB / 3.112 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/7.965, allocations: 71.73 kB / 3.112 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/7.968, allocations: 0.9398 MB / 3.113 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/7.968, allocations: 7.375 kB / 3.113 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/7.968, allocations: 4.969 kB / 3.113 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/7.968, allocations: 4.219 kB / 3.113 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/7.969, allocations: 0.7775 MB / 3.113 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/7.969, allocations: 6.312 kB / 3.113 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/7.97, allocations: 160.3 kB / 3.114 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005659/7.971, allocations: 83.14 kB / 3.114 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-05/7.971, allocations: 16.69 kB / 3.114 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/7.973, allocations: 1.473 MB / 3.115 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/7.973, allocations: 2.594 kB / 3.115 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/7.975, allocations: 0.7769 MB / 3.116 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006397/7.976, allocations: 278.7 kB / 3.116 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/7.976, allocations: 1.766 kB / 3.116 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007473/7.977, allocations: 69.42 kB / 3.116 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/7.977, allocations: 60.52 kB / 3.116 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.069e-05/7.977, allocations: 32.81 kB / 3.116 GB, free: 313.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008217/7.978, allocations: 403 kB / 3.117 GB, free: 313 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/7.978, allocations: 0 / 3.117 GB, free: 313 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001444/7.98, allocations: 313 kB / 3.117 GB, free: 313 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.004997/7.985, allocations: 2.266 MB / 3.119 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002218/7.987, allocations: 0.6677 MB / 3.12 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/7.987, allocations: 0 / 3.12 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/7.988, allocations: 468.2 kB / 3.12 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.001846/7.99, allocations: 215 kB / 3.12 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/7.995, allocations: 1.51 MB / 3.122 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008403/7.996, allocations: 1.037 MB / 3.123 GB, free: 310.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00137/7.998, allocations: 264.7 kB / 3.123 GB, free: 310.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/7.998, allocations: 370.6 kB / 3.124 GB, free: 310.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/7.998, allocations: 0 / 3.124 GB, free: 310.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06783/8.066, allocations: 23.23 MB / 3.146 GB, free: 309.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/8.067, allocations: 214.9 kB / 3.146 GB, free: 308.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.923/11.99, allocations: 0 / 3.146 GB, free: 308.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)