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.8163/0.8163, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001114/0.001114, allocations: 180.8 kB / 182.2 MB, free: 9.426 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.543/1.543, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008782/0.0008781, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 273.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.525e-05/1.512e-05, allocations: 0 / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.56, allocations: 82.76 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.972/4.532, allocations: 1.691 GB / 2.449 GB, free: 95.42 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/4.532, allocations: 99.77 kB / 2.449 GB, free: 95.33 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1329/4.665, allocations: 64.61 MB / 2.512 GB, free: 30.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/4.665, allocations: 3.938 kB / 2.512 GB, free: 30.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.099e-05/4.665, allocations: 24 kB / 2.512 GB, free: 30.44 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.001703/4.667, allocations: 1.127 MB / 2.513 GB, free: 29.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/4.667, allocations: 8.031 kB / 2.513 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/4.669, allocations: 306.3 kB / 2.513 GB, free: 28.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/4.669, allocations: 0.6347 MB / 2.514 GB, free: 28.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/4.669, allocations: 28 kB / 2.514 GB, free: 28.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-05/4.669, allocations: 52 kB / 2.514 GB, free: 28.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001189/4.671, allocations: 1.05 MB / 2.515 GB, free: 27.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/4.672, allocations: 0.8045 MB / 2.516 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/4.672, allocations: 0 / 2.516 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/4.672, allocations: 0 / 2.516 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/4.672, allocations: 24 kB / 2.516 GB, free: 26.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/4.675, allocations: 2.428 MB / 2.518 GB, free: 23.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/4.677, allocations: 0.8144 MB / 2.519 GB, free: 22.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/4.677, allocations: 259.2 kB / 2.519 GB, free: 22.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.216e-05/4.677, allocations: 28.8 kB / 2.519 GB, free: 22.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/4.678, allocations: 419.7 kB / 2.52 GB, free: 22.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=75): time 1.784e-06/4.678, allocations: 0 / 2.52 GB, free: 22.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=75): time 0.001394/4.679, allocations: 0.6836 MB / 2.52 GB, free: 21.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/4.679, allocations: 240.1 kB / 2.52 GB, free: 21.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/4.68, allocations: 498.3 kB / 2.521 GB, free: 20.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/4.68, allocations: 25.7 kB / 2.521 GB, free: 20.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/4.68, allocations: 412 kB / 2.521 GB, free: 20.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/4.68, allocations: 236.4 kB / 2.522 GB, free: 20.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/4.68, allocations: 0 / 2.522 GB, free: 20.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/4.68, allocations: 374.8 kB / 2.522 GB, free: 19.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/4.68, allocations: 201.5 kB / 2.522 GB, free: 19.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/4.681, allocations: 307.5 kB / 2.522 GB, free: 19.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/4.681, allocations: 244.5 kB / 2.523 GB, free: 18.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/4.681, allocations: 0 / 2.523 GB, free: 18.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001223/4.682, allocations: 0.672 MB / 2.523 GB, free: 18.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/4.682, allocations: 9.312 kB / 2.523 GB, free: 18.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/4.682, allocations: 0 / 2.523 GB, free: 18.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/4.683, allocations: 80.78 kB / 2.523 GB, free: 18.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/4.684, allocations: 159.8 kB / 2.523 GB, free: 18.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/4.685, allocations: 1.457 MB / 2.525 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/4.686, allocations: 75.64 kB / 2.525 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/4.686, allocations: 31.97 kB / 2.525 GB, free: 16.33 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.0001389/4.686, allocations: 124.8 kB / 2.525 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/4.686, allocations: 71.09 kB / 2.525 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/4.688, allocations: 0.9423 MB / 2.526 GB, free: 15.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/4.688, allocations: 8 kB / 2.526 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/4.688, allocations: 4 kB / 2.526 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/4.688, allocations: 3.984 kB / 2.526 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/4.69, allocations: 1.783 MB / 2.528 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/4.69, allocations: 0 / 2.528 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/4.691, allocations: 171.8 kB / 2.528 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/4.691, allocations: 80.78 kB / 2.528 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/4.691, allocations: 15.98 kB / 2.528 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/4.692, allocations: 1.481 MB / 2.53 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/4.692, allocations: 0 / 2.53 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/4.694, allocations: 0.8611 MB / 2.53 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/4.694, allocations: 275.8 kB / 2.531 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/4.694, allocations: 0 / 2.531 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/4.695, allocations: 71.92 kB / 2.531 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/4.695, allocations: 64.69 kB / 2.531 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/4.695, allocations: 27.98 kB / 2.531 GB, free: 10.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003555/4.695, allocations: 398.9 kB / 2.531 GB, free: 9.738 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.695, allocations: 0 / 2.531 GB, free: 9.738 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009478/4.696, allocations: 350.9 kB / 2.532 GB, free: 9.395 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.001527/4.698, allocations: 1.085 MB / 2.533 GB, free: 8.375 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009885/4.699, allocations: 0.6786 MB / 2.533 GB, free: 7.691 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/4.699, allocations: 0 / 2.533 GB, free: 7.691 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005816/4.699, allocations: 464.5 kB / 2.534 GB, free: 7.227 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009806/4.7, allocations: 231 kB / 2.534 GB, free: 7.004 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/4.703, allocations: 1.344 MB / 2.535 GB, free: 5.629 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/4.704, allocations: 1.043 MB / 2.536 GB, free: 4.559 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008083/4.704, allocations: 257.7 kB / 2.537 GB, free: 4.305 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/4.705, allocations: 103.4 kB / 2.537 GB, free: 4.203 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/4.705, allocations: 0 / 2.537 GB, free: 4.203 MB / 0.698 GB Notification: Performance of Templates: time 0.4488/5.153, allocations: 15.89 MB / 2.552 GB, free: 232 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)