Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.517/1.517, allocations: 249.3 MB / 261.8 MB, free: 5.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 178.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008394/0.0008394, allocations: 94.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.55e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2451, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.513/6.758, allocations: 2.191 GB / 3.082 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/6.758, allocations: 87.95 kB / 3.083 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1484/6.907, allocations: 66.26 MB / 3.147 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.828e-06/6.907, allocations: 8 kB / 3.147 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001451/6.907, allocations: 27.98 kB / 3.147 GB, free: 111.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003079/6.91, allocations: 1.083 MB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/6.91, allocations: 8.031 kB / 3.148 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003862/6.91, allocations: 135.5 kB / 3.148 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/6.912, allocations: 210.5 kB / 3.149 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/6.913, allocations: 0.623 MB / 3.149 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/6.914, allocations: 73.92 kB / 3.149 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/6.914, allocations: 84 kB / 3.149 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/6.916, allocations: 0.8912 MB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/6.916, allocations: 3.984 kB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/6.916, allocations: 43.95 kB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/6.916, allocations: 20 kB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/6.917, allocations: 1.062 MB / 3.151 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/6.921, allocations: 2.562 MB / 3.154 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/6.923, allocations: 0.6958 MB / 3.155 GB, free: 104 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/6.923, allocations: 260.4 kB / 3.155 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006213/6.924, allocations: 482.3 kB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006297/6.924, allocations: 409.4 kB / 3.156 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.727e-06/6.924, allocations: 3.938 kB / 3.156 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001712/6.926, allocations: 0.707 MB / 3.156 GB, free: 102 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/6.926, allocations: 240.1 kB / 3.157 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/6.927, allocations: 0.5738 MB / 3.157 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/6.927, allocations: 41.7 kB / 3.157 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/6.927, allocations: 396.1 kB / 3.158 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/6.927, allocations: 240.5 kB / 3.158 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/6.927, allocations: 16 kB / 3.158 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000112/6.928, allocations: 382.8 kB / 3.158 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/6.928, allocations: 197.5 kB / 3.158 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/6.928, allocations: 317.1 kB / 3.159 GB, free: 99.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/6.929, allocations: 254 kB / 3.159 GB, free: 99.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/6.929, allocations: 3.938 kB / 3.159 GB, free: 99.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001474/6.93, allocations: 0.7031 MB / 3.16 GB, free: 98.58 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/6.93, allocations: 8 kB / 3.16 GB, free: 98.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/6.93, allocations: 0 / 3.16 GB, free: 98.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005768/6.931, allocations: 76.84 kB / 3.16 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/6.931, allocations: 143.8 kB / 3.16 GB, free: 98.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/6.933, allocations: 1.516 MB / 3.161 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/6.934, allocations: 79.44 kB / 3.161 GB, free: 96.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/6.934, allocations: 23.98 kB / 3.161 GB, free: 96.6 MB / 0.8698 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 (75): * Single equations (assignments): 74 * 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.0001821/6.934, allocations: 154.1 kB / 3.162 GB, free: 96.44 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/6.934, allocations: 75.06 kB / 3.162 GB, free: 96.37 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/6.936, allocations: 0.9771 MB / 3.163 GB, free: 95.37 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/6.936, allocations: 8 kB / 3.163 GB, free: 95.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/6.936, allocations: 3.938 kB / 3.163 GB, free: 95.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/6.936, allocations: 7.938 kB / 3.163 GB, free: 95.35 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/6.937, allocations: 0.888 MB / 3.163 GB, free: 94.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/6.937, allocations: 0 / 3.163 GB, free: 94.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/6.938, allocations: 151.8 kB / 3.164 GB, free: 94.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/6.939, allocations: 84.78 kB / 3.164 GB, free: 94.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-05/6.939, allocations: 23.98 kB / 3.164 GB, free: 94.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/6.94, allocations: 1.532 MB / 3.165 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/6.94, allocations: 7.984 kB / 3.165 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/6.942, allocations: 0.805 MB / 3.166 GB, free: 91.64 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/6.942, allocations: 291.6 kB / 3.166 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/6.942, allocations: 20 kB / 3.166 GB, free: 91.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/6.943, allocations: 63.95 kB / 3.166 GB, free: 91.26 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/6.943, allocations: 64.83 kB / 3.166 GB, free: 91.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/6.943, allocations: 27.98 kB / 3.166 GB, free: 91.17 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005579/6.943, allocations: 483.1 kB / 3.167 GB, free: 90.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.02e-07/6.943, allocations: 0 / 3.167 GB, free: 90.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001157/6.945, allocations: 363 kB / 3.167 GB, free: 90.34 MB / 0.8698 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 (84): * Single equations (assignments): 81 * 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.003496/6.948, allocations: 2.265 MB / 3.169 GB, free: 88.13 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001254/6.949, allocations: 0.6902 MB / 3.17 GB, free: 87.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/6.949, allocations: 0 / 3.17 GB, free: 87.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006872/6.95, allocations: 475.1 kB / 3.171 GB, free: 86.95 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/6.951, allocations: 239.9 kB / 3.171 GB, free: 86.73 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/6.955, allocations: 1.581 MB / 3.172 GB, free: 85.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/6.956, allocations: 1.043 MB / 3.173 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009534/6.957, allocations: 254.1 kB / 3.174 GB, free: 83.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005869/6.957, allocations: 371.3 kB / 3.174 GB, free: 83.43 MB / 0.8698 GB Notification: Performance of SimCode: time 1.392e-06/6.957, allocations: 0 / 3.174 GB, free: 83.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/7.013, allocations: 31.12 MB / 3.204 GB, free: 52.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/7.013, allocations: 262.9 kB / 3.205 GB, free: 52.23 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/10.02, allocations: 2.922 kB / 3.205 GB, free: 52.23 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)