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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7954/0.7954, allocations: 141.8 MB / 149.3 MB, free: 9.176 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.001215/0.001215, allocations: 180.9 kB / 182.2 MB, free: 9.414 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.632/1.632, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.001443/0.001443, allocations: 93.69 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 283.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.875e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.506, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.001/4.508, allocations: 1.691 GB / 2.449 GB, free: 60.06 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/4.508, allocations: 93.52 kB / 2.449 GB, free: 60.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1335/4.641, allocations: 64.61 MB / 2.512 GB, free: 0.625 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/4.641, allocations: 0 / 2.512 GB, free: 0.625 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.145e-05/4.641, allocations: 27.94 kB / 2.512 GB, free: 0.5977 MB / 0.698 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.3329/4.974, allocations: 1.111 MB / 2.513 GB, free: 236.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/4.974, allocations: 9.031 kB / 2.513 GB, free: 236.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/4.976, allocations: 305.4 kB / 2.513 GB, free: 236.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/4.977, allocations: 0.6276 MB / 2.514 GB, free: 236.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/4.977, allocations: 30.19 kB / 2.514 GB, free: 236.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/4.978, allocations: 55.73 kB / 2.514 GB, free: 236.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001802/4.979, allocations: 1.051 MB / 2.515 GB, free: 236.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/4.981, allocations: 0.8099 MB / 2.516 GB, free: 236 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/4.981, allocations: 5.031 kB / 2.516 GB, free: 236 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.102e-05/4.981, allocations: 1.219 kB / 2.516 GB, free: 236 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/4.981, allocations: 22.25 kB / 2.516 GB, free: 236 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004172/4.985, allocations: 2.425 MB / 2.518 GB, free: 235.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/4.987, allocations: 0.8097 MB / 2.519 GB, free: 235.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/4.987, allocations: 258.7 kB / 2.519 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.318e-05/4.987, allocations: 37.64 kB / 2.519 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006092/4.988, allocations: 410.3 kB / 2.519 GB, free: 235.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=75): time 2.024e-06/4.988, allocations: 0 / 2.519 GB, free: 235.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=75): time 0.001643/4.99, allocations: 0.6835 MB / 2.52 GB, free: 235.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/4.99, allocations: 241.4 kB / 2.52 GB, free: 234.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/4.99, allocations: 497.7 kB / 2.521 GB, free: 234.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/4.99, allocations: 26.95 kB / 2.521 GB, free: 234.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/4.991, allocations: 413.7 kB / 2.521 GB, free: 234.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/4.991, allocations: 234.5 kB / 2.521 GB, free: 234.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/4.991, allocations: 1.125 kB / 2.521 GB, free: 234.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001339/4.991, allocations: 372.6 kB / 2.522 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/4.991, allocations: 201.4 kB / 2.522 GB, free: 234.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/4.992, allocations: 307.4 kB / 2.522 GB, free: 234 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/4.992, allocations: 251.5 kB / 2.523 GB, free: 234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/4.992, allocations: 0 / 2.523 GB, free: 234 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001591/4.994, allocations: 0.6719 MB / 2.523 GB, free: 233.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/4.994, allocations: 5.062 kB / 2.523 GB, free: 233.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/4.994, allocations: 5.078 kB / 2.523 GB, free: 233.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/4.995, allocations: 79.55 kB / 2.523 GB, free: 233.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/4.995, allocations: 161.2 kB / 2.523 GB, free: 233.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/4.997, allocations: 1.453 MB / 2.525 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/4.998, allocations: 79.84 kB / 2.525 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/4.998, allocations: 32.66 kB / 2.525 GB, free: 232.6 MB / 0.698 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 (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.0001625/4.998, allocations: 122.6 kB / 2.525 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/4.998, allocations: 72.19 kB / 2.525 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/5, allocations: 0.9414 MB / 2.526 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/5, allocations: 9.875 kB / 2.526 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/5, allocations: 0 / 2.526 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/5, allocations: 7.406 kB / 2.526 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/5.002, allocations: 1.773 MB / 2.528 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/5.002, allocations: 0 / 2.528 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/5.003, allocations: 173 kB / 2.528 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/5.004, allocations: 86.92 kB / 2.528 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/5.004, allocations: 14.33 kB / 2.528 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/5.005, allocations: 1.486 MB / 2.53 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/5.005, allocations: 0 / 2.53 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/5.007, allocations: 0.8485 MB / 2.53 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/5.007, allocations: 282.5 kB / 2.531 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/5.007, allocations: 7.281 kB / 2.531 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007221/5.008, allocations: 72.02 kB / 2.531 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/5.008, allocations: 61.94 kB / 2.531 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/5.008, allocations: 31.28 kB / 2.531 GB, free: 230.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003951/5.008, allocations: 402.3 kB / 2.531 GB, free: 230.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/5.008, allocations: 0 / 2.531 GB, free: 230.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001055/5.009, allocations: 346 kB / 2.532 GB, free: 230.4 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.conTim.tNext,weaDat.conTimMin.tNext) * 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.001636/5.011, allocations: 1.092 MB / 2.533 GB, free: 230.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001046/5.012, allocations: 0.6716 MB / 2.533 GB, free: 230.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/5.012, allocations: 2.156 kB / 2.533 GB, free: 230.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005792/5.013, allocations: 470.8 kB / 2.534 GB, free: 230 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/5.014, allocations: 226.5 kB / 2.534 GB, free: 230 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/5.017, allocations: 1.343 MB / 2.535 GB, free: 229.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/5.017, allocations: 1.045 MB / 2.536 GB, free: 228.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009325/5.018, allocations: 266.8 kB / 2.537 GB, free: 228.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/5.018, allocations: 90.02 kB / 2.537 GB, free: 228.9 MB / 0.698 GB Notification: Performance of SimCode: time 4.4e-07/5.019, allocations: 0 / 2.537 GB, free: 228.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02151/5.04, allocations: 15.91 MB / 2.552 GB, free: 227.5 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)