Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 251.9 MB / 266.9 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 178.8 kB / 326.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 92.12 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003908, allocations: 9.062 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 106.3 MB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.003817/0.2483, allocations: 3.522 MB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1585/0.4068, allocations: 127.2 MB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008139/0.4077, allocations: 15.94 kB / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.4081, allocations: 75.28 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.4096, allocations: 416.8 kB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.4115, allocations: 0.5971 MB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.4127, allocations: 0.7325 MB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.4136, allocations: 0.5102 MB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.4141, allocations: 310.6 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.4145, allocations: 298.3 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.4145, allocations: 20 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.4152, allocations: 247.7 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.4154, allocations: 167.3 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.4156, allocations: 181.1 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.4167, allocations: 1.083 MB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4167, allocations: 0 / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4167, allocations: 0 / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.4167, allocations: 4 kB / 1.032 GB, free: 8.199 MB / 0.6823 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.002137/0.4189, allocations: 1.148 MB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4189, allocations: 16.02 kB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/0.4191, allocations: 139.5 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.4205, allocations: 278.4 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.4217, allocations: 0.6953 MB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.4218, allocations: 66 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.4219, allocations: 84 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.4236, allocations: 0.965 MB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4236, allocations: 0 / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.579e-05/0.4237, allocations: 40 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/0.4238, allocations: 27.95 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.4259, allocations: 1.175 MB / 1.037 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.4304, allocations: 2.589 MB / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.4328, allocations: 0.8717 MB / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.044e-05/0.4329, allocations: 28.53 kB / 1.04 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009913/0.4339, allocations: 471.2 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.587e-06/0.4339, allocations: 0 / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.003411/0.4374, allocations: 1.206 MB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.4375, allocations: 192.6 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/0.4385, allocations: 0.5705 MB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.119e-05/0.4386, allocations: 45.64 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/0.4391, allocations: 400.1 kB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.4394, allocations: 240.5 kB / 1.043 GB, free: 12.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.4394, allocations: 8 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.4397, allocations: 378.8 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.4404, allocations: 261.1 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007601/0.4411, allocations: 358.7 kB / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.4418, allocations: 303.1 kB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4419, allocations: 0 / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002152/0.444, allocations: 0.8056 MB / 1.045 GB, free: 10.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.4441, allocations: 4 kB / 1.045 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.4441, allocations: 0 / 1.045 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/0.4447, allocations: 92.84 kB / 1.045 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.4454, allocations: 151.8 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.4476, allocations: 1.543 MB / 1.047 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/0.4484, allocations: 94.86 kB / 1.047 GB, free: 8.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.4484, allocations: 23.98 kB / 1.047 GB, free: 8.484 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.0005239/0.449, allocations: 265.6 kB / 1.047 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.4491, allocations: 75.06 kB / 1.047 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.4518, allocations: 1.088 MB / 1.049 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4518, allocations: 8 kB / 1.049 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4518, allocations: 0 / 1.049 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.4518, allocations: 15.86 kB / 1.049 GB, free: 7.012 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.453, allocations: 0.8684 MB / 1.049 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.453, allocations: 0 / 1.049 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.4537, allocations: 155.8 kB / 1.05 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005216/0.4542, allocations: 88.77 kB / 1.05 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.4543, allocations: 23.98 kB / 1.05 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.4562, allocations: 1.56 MB / 1.051 GB, free: 4.133 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4562, allocations: 7.969 kB / 1.051 GB, free: 4.125 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.4585, allocations: 0.9201 MB / 1.052 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.4591, allocations: 275.7 kB / 1.052 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.4593, allocations: 16 kB / 1.052 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.4603, allocations: 79.94 kB / 1.052 GB, free: 2.797 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.4605, allocations: 60.91 kB / 1.053 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.4606, allocations: 35.86 kB / 1.053 GB, free: 2.703 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008688/0.4615, allocations: 427 kB / 1.053 GB, free: 2.289 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4615, allocations: 0 / 1.053 GB, free: 2.289 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001258/0.4627, allocations: 275.2 kB / 1.053 GB, free: 2.02 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.005263/0.468, allocations: 1.924 MB / 1.055 GB, free: 236 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.4557/0.9237, allocations: 0.7986 MB / 1.056 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.9238, allocations: 1.719 kB / 1.056 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.9249, allocations: 0.5253 MB / 1.056 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.9262, allocations: 241.3 kB / 1.057 GB, free: 153.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009688/0.9359, allocations: 5.286 MB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.9366, allocations: 1.036 MB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001143/0.9377, allocations: 275 kB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.9383, allocations: 370.9 kB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.552e-06/0.9383, allocations: 1.531 kB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04975/0.988, allocations: 19.98 MB / 1.083 GB, free: 144.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.9883, allocations: 294.1 kB / 1.083 GB, free: 143.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.679, allocations: 0 / 1.083 GB, free: 143.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)