Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.903/0.903, allocations: 143.3 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 169.1 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 447.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 92.25 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.001709, allocations: 274.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005171, allocations: 14.97 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1788, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.573/3.752, allocations: 1.692 GB / 2.466 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/3.752, allocations: 103.9 kB / 2.466 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1359/3.888, allocations: 65.76 MB / 2.53 GB, free: 40.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.396e-06/3.888, allocations: 0 / 2.53 GB, free: 40.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.094e-05/3.888, allocations: 32 kB / 2.53 GB, free: 40.81 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002016/3.89, allocations: 1.242 MB / 2.531 GB, free: 39.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/3.89, allocations: 8.031 kB / 2.531 GB, free: 39.51 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/3.89, allocations: 151.7 kB / 2.531 GB, free: 39.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/3.892, allocations: 306.2 kB / 2.532 GB, free: 39.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/3.893, allocations: 0.6347 MB / 2.532 GB, free: 38.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/3.893, allocations: 66 kB / 2.532 GB, free: 38.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/3.893, allocations: 88 kB / 2.532 GB, free: 38.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/3.895, allocations: 0.9994 MB / 2.533 GB, free: 37.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/3.895, allocations: 0 / 2.533 GB, free: 37.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/3.895, allocations: 39.98 kB / 2.533 GB, free: 37.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/3.895, allocations: 24 kB / 2.533 GB, free: 37.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/3.897, allocations: 1.225 MB / 2.535 GB, free: 35.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/3.901, allocations: 2.607 MB / 2.537 GB, free: 33.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/3.903, allocations: 0.9484 MB / 2.538 GB, free: 32.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.374e-05/3.903, allocations: 28.69 kB / 2.538 GB, free: 32.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008869/3.904, allocations: 499.1 kB / 2.539 GB, free: 31.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=75): time 3.226e-06/3.904, allocations: 0 / 2.539 GB, free: 31.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75): time 0.003475/3.907, allocations: 1.257 MB / 2.54 GB, free: 30.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/3.908, allocations: 240 kB / 2.54 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/3.908, allocations: 0.597 MB / 2.541 GB, free: 29.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.972e-05/3.908, allocations: 41.7 kB / 2.541 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/3.909, allocations: 400.2 kB / 2.541 GB, free: 29.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/3.909, allocations: 244.3 kB / 2.541 GB, free: 28.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/3.909, allocations: 16 kB / 2.541 GB, free: 28.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/3.909, allocations: 382.8 kB / 2.542 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/3.91, allocations: 273.1 kB / 2.542 GB, free: 28.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/3.91, allocations: 379.6 kB / 2.542 GB, free: 27.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/3.911, allocations: 311 kB / 2.543 GB, free: 27.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/3.911, allocations: 3.984 kB / 2.543 GB, free: 27.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002028/3.913, allocations: 0.8329 MB / 2.543 GB, free: 26.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/3.913, allocations: 4 kB / 2.543 GB, free: 26.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/3.913, allocations: 0 / 2.543 GB, free: 26.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/3.914, allocations: 88.81 kB / 2.544 GB, free: 26.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/3.914, allocations: 163.8 kB / 2.544 GB, free: 26.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/3.916, allocations: 1.533 MB / 2.545 GB, free: 24.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/3.917, allocations: 107.4 kB / 2.545 GB, free: 24.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/3.917, allocations: 23.98 kB / 2.545 GB, free: 24.57 MB / 0.7136 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 () * 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.0005277/3.918, allocations: 266.7 kB / 2.546 GB, free: 24.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/3.918, allocations: 75.06 kB / 2.546 GB, free: 24.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/3.92, allocations: 1.127 MB / 2.547 GB, free: 23.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/3.92, allocations: 15.95 kB / 2.547 GB, free: 23.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/3.92, allocations: 0 / 2.547 GB, free: 23.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/3.92, allocations: 3.984 kB / 2.547 GB, free: 23.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/3.924, allocations: 2.081 MB / 2.549 GB, free: 20.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/3.924, allocations: 0 / 2.549 GB, free: 20.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/3.924, allocations: 167.8 kB / 2.549 GB, free: 20.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/3.925, allocations: 84.77 kB / 2.549 GB, free: 20.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/3.925, allocations: 23.98 kB / 2.549 GB, free: 20.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/3.927, allocations: 1.559 MB / 2.551 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/3.927, allocations: 0 / 2.551 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/3.929, allocations: 1.035 MB / 2.552 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/3.93, allocations: 288 kB / 2.552 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/3.93, allocations: 16 kB / 2.552 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/3.93, allocations: 91.88 kB / 2.552 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/3.93, allocations: 52.92 kB / 2.552 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/3.931, allocations: 43.95 kB / 2.552 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005845/3.931, allocations: 495 kB / 2.553 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/3.931, allocations: 0 / 2.553 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001231/3.932, allocations: 387 kB / 2.553 GB, free: 16.54 MB / 0.7136 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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.003986/3.936, allocations: 2.525 MB / 2.555 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001818/3.938, allocations: 0.8376 MB / 2.556 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/3.938, allocations: 4 kB / 2.556 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000945/3.939, allocations: 0.5354 MB / 2.557 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/3.94, allocations: 241.9 kB / 2.557 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009422/3.95, allocations: 5.411 MB / 2.562 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/3.95, allocations: 1.043 MB / 2.563 GB, free: 6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009334/3.951, allocations: 274.1 kB / 2.563 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/3.952, allocations: 387.3 kB / 2.564 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/3.952, allocations: 3.938 kB / 2.564 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3726/4.324, allocations: 29.96 MB / 2.593 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/4.324, allocations: 300.5 kB / 2.593 GB, free: 226 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/7.342, allocations: 1.203 kB / 2.593 GB, free: 226 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)